Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/1410#discussion_r45985979
--- Diff:
flink-streaming-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer.java
---
@@ -415,13 +415,17 @@ public void run(SourceContext<T> sourceContext)
throws Exception {
long commitInterval =
Long.valueOf(props.getProperty("auto.commit.interval.ms", "60000"));
offsetCommitter = new
PeriodicOffsetCommitter(commitInterval, this);
offsetCommitter.start();
+ offsetCommitter.setDaemon(true);
--- End diff --
I think that has to be before `start()` (otherwise it fails)
---
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 [email protected] or file a JIRA ticket
with INFRA.
---