Closed manojmanivannan closed 1 year ago
Should be possible but as a rule I wouldn't suggest it.
Any suggestions on how to move records from Kafka topics ? I'm trying to find a solution for this case https://stackoverflow.com/questions/76372178/how-to-push-data-records-from-consumefromtopicoperator-to-xcom
I'd start to see if
https://airflow.apache.org/docs/apache-airflow-providers-apache-kafka/1.1.0/
Helps you out. That's the officially supported provider now.
Specifically
Might be of interest.
Also, why can't you apply the work you're doing within the consume from topic operator directly ?
@dylanbstorey thanks so much. After more digging, I was able to simply the approach and implement using Kafka consumer from kafka-python.
Can the messages consumed from ConsumeFromTopicOperator be pushed to XCom ?