Heartbeat topic configuration for Kafka Source Connector


We are considering using heartbeat mechanism to prevent the loss of the resume token when reading changes from a collection.

Our current scenario involves 6 collections being polled, each by one separate connector.

So far, we haven’t found any documentation about the heartbeat topic parameters. Any advise on how to choose, topic retention, topic partition number, compaction… or any other relevant heartbeat topic configs?

Also, given our scenario of several connectors, is it safe to share the heartbeat topic or should we create a separate topic per connector?



Would love to get some guidance on this as well. We also have the multiple connectors configuration and am not sure if we should create one topic per connector, or if it’s safe for them to share.