Parsely/pykafka

Allow for producing to topics dynamically.

Open

#354 aberto em 13 de nov. de 2015

Ver no GitHub
 (17 comments) (10 reactions) (0 assignees)Python (231 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (1.114 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Currently, a new producer needs to be instantiated for each topic that you want to produce to. I am working on a service that intakes messages from many producers, and then sends them on to different Kafka topics based on the content of the message. Instantiating a new producer for each topic is a lot of overhead. It would be handy if there was a way to produce to a topic by specifying topic as a parameter to a produce method.

Guia do colaborador