dubin555 opened a new pull request #9356: [FLINK-13340][kafka][table] Add 
'topics' and 'subscription' option for Flink Kafka connector
URL: https://github.com/apache/flink/pull/9356
 
 
   ## What is the purpose of the change
   This pull request enable Flink Kafka table enable more topic option:
   
   ```
             new Kafka()
             .version("0.11")
             .topic("test-flink-1")
    //       .subscriptionPattern("test-flink-.*")
   //        .topics("test-flink-1", "test-flink-2")
             .startFromEarliest()
             .property("zookeeper.connect", "sap-zookeeper1:2181")
             .property("bootstrap.servers", "sap-kafka1:9092"))
   ```
   
   any one of 'topic', 'topics', 'subscriptionPattern' is functional.
   
   ## Brief change log
   
     - *Implement a new Class 'KafkaTopicDescriptor' to describe the Kafka 
topic option*
     - *Implement 'KafkaConsumerValidator' and 'KafkaProducerValidator' instead 
of one single 'KafkaValidator' to valid the consumer topic setting and producer 
setting*
     - *Implement the consumer function with help of 'KafkaConsumer' of 
different Kafka version*
   
   ## Verifying this change
   
   This change is already covered by existing tests, such as *KafkaTest*.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency):  yes 
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`:  no
     - The serializers:  don't know
     - The runtime per-record code paths (performance sensitive):  no 
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper:  no 
     - The S3 file system connector:  no 
   
   ## Documentation
   
     - Does this pull request introduce a new feature?  no
     - If yes, how is the feature documented?  JavaDocs
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to