I need to implement an outbox pattern using gravity. I need to capture the create operation on the outbox collection of our MongoDB database and send it as output to Kafka.
My outbox collection has these fields:
kafka_topic,
kafka_key,
kafka_value,
kafka_header_keys,
kafka_headers
As you see I need to set kafka key,value,topic,... using these fields in each created outbox document.
I'm thinking about implementing a new gravity output which do that for me, How do you think?
Are you ok with a new PR to add kafka_outbox as a new output plugin?
I need to implement an outbox pattern using gravity. I need to capture the
createoperation on theoutboxcollection of our MongoDB database and send it as output to Kafka.My
outboxcollection has these fields:kafka_topic,kafka_key,kafka_value,kafka_header_keys,kafka_headersAs you see I need to set kafka key,value,topic,... using these fields in each created outbox document.
I'm thinking about implementing a new gravity output which do that for me, How do you think?
Are you ok with a new PR to add kafka_outbox as a new output plugin?