Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IGNITE-19910 Add consumer poll timeout to kafka-cdc #276

Merged
merged 3 commits into from
Jun 13, 2024

Conversation

ivandasch
Copy link
Contributor

No description provided.

@@ -107,6 +107,9 @@ class KafkaToIgniteCdcStreamerApplier implements Runnable, AutoCloseable {
/** The maximum time to complete Kafka related requests, in milliseconds. */
private final long kafkaReqTimeout;

/** Consumer poll timeout. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's mention in javadocs (especially in public config) that the timeout is measured in "milliseconds", in the same way it is for kafkaReqTimeout.

@@ -85,6 +93,35 @@ public void testLoadIgniteClientConfig() throws Exception {
assertNotNull(streamer);
}

@Test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed javadoc for the test

@ivandasch ivandasch merged commit 9b79fe6 into apache:master Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants