How to correctly configure Roadrunner to consume messages from a Kafka topic? #1730
-
Good evening, I need your assistance or consultation in resolving the following issue. In the Kafka broker a topic named "se-collector.pt.event.out" has been created. How can I correctly configure the consume/pipelines in version: "3"
server:
relay: pipes
command: /usr/bin/php /app/consumer.php
kafka:
brokers: ["dev-producer_api-1:8001"]
jobs:
consume: ["se-collector.pt.event.out"]
num_pollers: 1
pipeline_size: 1000
pool:
num_workers: 1
max_jobs: 0
allocate_timeout: 60s
destroy_timeout: 60s
pipelines:
"se-collector.pt.event.out":
driver: kafka
config:
priority: 10
prefetch: 10
rpc:
enable: true
listen: tcp://127.0.0.1:6001 but got errors like
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @denyskanunnikov 👋🏻 |
Beta Was this translation helpful? Give feedback.
Pipeline name is not the same as the topic or queue names. These are RR internal names. So, in your case, this name should be here: https://github.com/roadrunner-server/roadrunner/blob/master/.rr.yaml#L1718