poolboy
poolboy copied to clipboard
brod-poolboy integration
Well, I'm building a service which uses brod as the producer as well as consumer client for Kafka message broker. And I'm trying to handle the worker processes through your poolboy. Now I'm stuck at where to call poolboy (in brod) to pass the messages (from the producer on the other side) and then get the response from poolboy to brod.
I understand how poolboy works, but ain't sure how to pass the request from brod to poolboy. Please note that I'm able to pass requests to poolboy explicitly (through commands), but I need to get it done through brod (so that it doesn't have to publish messages manually using commands for each operation). This is being done as a part of a microservice backend project.
How do I accomplish this? How do I include poolboy as a dependency on brod? Thanks!