kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-5848) KafkaConsumer should validate topics/TopicPartitions on subscribe/assign
Date Wed, 06 Sep 2017 21:39:00 GMT
Matthias J. Sax created KAFKA-5848:
--------------------------------------

             Summary: KafkaConsumer should validate topics/TopicPartitions on subscribe/assign
                 Key: KAFKA-5848
                 URL: https://issues.apache.org/jira/browse/KAFKA-5848
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 0.11.0.0
            Reporter: Matthias J. Sax
            Priority: Minor


Currently, {{KafkaConsumer}} checks if the provided topics on {{subscribe()}} and {{TopicPartition}}
on {{assign()}} don't contain topic names that are {{null}} or an empty string. 

However, it could do some more validation:
 - check if invalid topic characters are in the string (this might be feasible for {Patterns}},
too?)
 - check if provided partition numbers are valid (ie, not negative and maybe not larger than
the available partitions?)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message