Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ protected ChangeEventSourceCoordinator<VitessPartition, VitessOffsetContext> sta

queue = new ChangeEventQueue.Builder<DataChangeEvent>()
.pollInterval(connectorConfig.getPollInterval())
.pollDispatchInterval(connectorConfig.getPollDispatchInterval())
.maxBatchSize(connectorConfig.getMaxBatchSize())
.maxQueueSize(connectorConfig.getMaxQueueSize())
.queueProvider(new DefaultQueueProvider<>(connectorConfig.getMaxQueueSize()))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class VitessHeartbeatImplTest {
.maxQueueSize(20)
.loggingContextSupplier(() -> LoggingContext.forConnector("a", "b", "c"))
.pollInterval(Duration.ofMillis(500))
.pollDispatchInterval(Duration.ofMillis(0))
.queueProvider(new DefaultQueueProvider<>(20))
.build();

Expand All @@ -60,6 +61,7 @@ public void shouldSendRecordWithVgtid() throws InterruptedException {
.maxQueueSize(20)
.loggingContextSupplier(() -> LoggingContext.forConnector("a", "b", "c"))
.pollInterval(Duration.ofMillis(500))
.pollDispatchInterval(Duration.ofMillis(0))
.queueProvider(new DefaultQueueProvider<>(20))
.build();

Expand Down
Loading