Details
-
Bug
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
None
-
None
Description
i specified topic list in my config file, and the flink program read message from this.
here is my config file:
kafka.consumer.topic = user,order,sales
and flink program :
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); env.enableCheckpointing(5000); FlinkKafkaConsumer010 kafkaConsumer = new FlinkKafkaConsumer010<>(Arrays.asList(kafka_consumer_topic.split(",")), new SimpleStringSchema(), getKafkaProperties()); DataStream<String> dataStream = env.addSource(kafkaConsumer);
when i run the flink program,it is only can consume a few topics,the others can't consume,can anyone help me?flink version is 1.6.1。