Description
KafkaSource tests are flaky, and tend to fail. I investigated this issue and discovered the following issues:
- KafkaSource hangs in doStart at line 413:
KafkaSourceEmbeddedKafka.java
it = consumer.poll(1000).iterator();
I fixed that by simply changing HOST in KafkaSourceEmbeddedKafka to localhost.
- Out of memory exception. I fixed that by properly configuring MAVEN_OPTS, as stated in the documentation.
Attachments
Attachments
Issue Links
- duplicates
-
FLUME-2898 Kafka source test will freeze on JDK8
- Resolved
- is broken by
-
FLUME-2821 Flume-Kafka Source with new Consumer
- Closed