Skip to content

Conversation

@cburch
Copy link
Contributor

@cburch cburch commented Nov 18, 2015

ALEPH-70

public synchronized static Producer<String, String> getKafkaProducer() {
if ( producer == null ) {
public synchronized static Producer<String, String> getKafkaProducer() {
final int num_producers = 25; //TODO make this configurable, probably per topic rather than globally?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this num_producers, all this pooling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants