Github user tzulitai commented on a diff in the pull request:
https://github.com/apache/flink/pull/2789#discussion_r87745778
--- Diff:
flink-streaming-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaShortRetentionTestBase.java
---
@@ -172,8 +173,14 @@ public void cancel() {
// ----------- add consumer dataflow ----------
+ // the consumer should only poll very small chunks
+ Properties consumerProps = new Properties();
+ consumerProps.putAll(standardProps);
+ consumerProps.putAll(secureProps);
+ consumerProps.setProperty("fetch.message.max.bytes", "100");
--- End diff --
I think we shouldn't be setting `fetch.message.max.bytes` here. The config
key for this setting has changed across Kafka versions (for 0.9+ it's
`max.partition.fetch.bytes`). The version-specific `standardProps` already set
values for this config.
So, the original `props` that only contains `standardProps` and
`secureProps` should be enough for the test to work.
---
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.
---