Hi,
I'm facing timeouts with Debezium Server 3.0.7 publishing to Google Pub/Sub with ordering keys enabled.
Example error I faced recently:
java.util.concurrent.TimeoutException: Waited 600000 milliseconds for ListFuture[status=PENDING]
at io.debezium.server.pubsub.PubSubChangeConsumer.handleBatch()
After server restart, it works fine until next occurrence.
**What i have tried**
- My initial max.batch.size was 4096, i have brought it down to 1024 now.
Still I am facing this Timeout issue sometimes.
My configurations:
**Source Config:**
{
"max.batch.size": 1024,
"max.queue.size": 4096,
}
**Pub/Sub Sink Config:**
{
"ordering.enabled": true,
"batch.element.count.threshold": 100,
"batch.request.byte.threshold": 5000000,
"concurrency.threads": 4
}
**Questions:**
1. What config changes can prevent this timeout? Should I reduce
batch.element.count.threshold further or adjust retry settings?
2. I cannot disable ordering. Looking for configuration-based solutions
to handle these intermittent PENDING futures or any steps to debug this
issue further.
Thanks.