I have a producer spitting messages out on a cometd topic. I need to pick and process the stream of messages from this topic. I have probably spent last two hours trying to find a way to ingest the messages on cometd directly into apache Beam. I seem to be hitting a wall here. I know that I have following options:
- Get from topic, Write the data to kafka and then push the data from kafka to beam.
- Get from topic, Write the data to pub/sub on GCP and then push it through to Apache Beam.
Both the options above seem to be including an extra component in the architecture. Is there is a better way to do this? Any examples? Code Samples? Pointers?