Home > front end >  Transfer data from Kafka Topic to a UDP and TCP Port
Transfer data from Kafka Topic to a UDP and TCP Port

Time:12-18

I try to transfer data from [tag:Kafka to or port. I tried to find a to achieve this goal, but I couldn't find anything related. Do you have any suggestion to find the best way to create such a pipeline?

CodePudding user response:

You can use Benthos for this. E.g.

input:
  label: "Kafka Data"
  kafka:
    addresses: ["localhost:9092"]
    topics: ["input"]
    target_version: 2.0.0
    consumer_group: "example"
output:
  label: "Socket Out"
  socket:
    network: "tcp" # or udp
    address: "host:1234"
    codec: lines
  • Related