The _ConsumeKafkaTopic DoFn will read forever (unless the topic is closed), which will not allow the bundle to finish and elements to be checkpointed/processed downstream. This should be re-written as an SFD. (Note also that there's ongoing work to expose Java's KafkaIO in Python as a cross-laungage transform).
Any hints on how to implement this @robertwb ? The cross-language KafkaIO transform is not working for me either, see here. I have the exact problem as you described here when using this connector.
The _ConsumeKafkaTopic DoFn will read forever (unless the topic is closed), which will not allow the bundle to finish and elements to be checkpointed/processed downstream. This should be re-written as an SFD. (Note also that there's ongoing work to expose Java's KafkaIO in Python as a cross-laungage transform).
https://github.com/mohaseeb/beam-nuggets/blob/164903e739383671210ecdfd8d20e8e756435d86/beam_nuggets/io/kafkaio.py#L67