flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3061] Properly fail Kafka Consumer if b...
Date Wed, 25 Nov 2015 19:40:10 GMT
Github user StephanEwen commented on a diff in the pull request:

    --- Diff: flink-streaming-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer.java
    @@ -306,6 +306,11 @@ public FlinkKafkaConsumer(String topic, KeyedDeserializationSchema<T>
     		// Connect to a broker to get the partitions
     		List<PartitionInfo> partitionInfos = getPartitionsForTopic(topic, props);
    +		if(partitionInfos.size() == 0) {
    --- End diff --
    Code style, space ;-)

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message