Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

KafkaProducerFactory build() to build() call with wrong params #36

Open
pccyang opened this issue Apr 27, 2015 · 1 comment
Open

KafkaProducerFactory build() to build() call with wrong params #36

pccyang opened this issue Apr 27, 2015 · 1 comment

Comments

@pccyang
Copy link

pccyang commented Apr 27, 2015

public KafkaProducer<?, V> build(final Class<? extends Encoder> messageEncoder,
final Environment environment,
final String name) {
return build(messageEncoder, null, environment, name);
}

Should be:

public KafkaProducer<?, V> build(final Class<? extends Encoder> messageEncoder,
final Environment environment,
final String name) {
return build(null, messageEncoder, environment, name);
}

@pccyang
Copy link
Author

pccyang commented Apr 27, 2015

sorry. didn't realize it has already been reported

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant