Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-3669: Add secondary constructor for KafkaConfig with a default … #1334

Closed
wants to merge 1 commit into from

Conversation

markgrover
Copy link
Member

…value for doLog

@markgrover
Copy link
Member Author

This PR is for kafka's trunk branch.

@ijuma
Copy link
Contributor

ijuma commented May 6, 2016

It was intentional not to add this constructor back in 0.10 as KafkaConfig is not public API and companion object methods are easier to understand than overloaded constructors. Having said that, we can add this back if it helps existing projects. Did you say, spark streaming is relying on this?

@markgrover
Copy link
Member Author

Yeah, Spark Streaming relies on this. I don't think it's a big change for Kafka to make, so I'd prefer if Kafka made this change. That way we don't have to do reflection in Spark to be able to build against Kafka 0.9 and 0.10, it save us a bunch of work:-)

@ijuma
Copy link
Contributor

ijuma commented May 6, 2016

LGTM, will merge once the tests pass.

@granthenke
Copy link
Member

granthenke commented May 6, 2016

LGTM.

@asfgit asfgit closed this in 58f9d7c May 6, 2016
asfgit pushed a commit that referenced this pull request May 6, 2016
…value for doLog

…value for doLog

Author: Mark Grover <mark@apache.org>

Reviewers: Grant Henke <granthenke@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1334 from markgrover/kafka-3669-trunk

(cherry picked from commit 58f9d7c)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
gfodor pushed a commit to AltspaceVR/kafka that referenced this pull request Jun 3, 2016
…value for doLog

…value for doLog

Author: Mark Grover <mark@apache.org>

Reviewers: Grant Henke <granthenke@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes apache#1334 from markgrover/kafka-3669-trunk
efeg pushed a commit to efeg/kafka that referenced this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants