Skip to content

Fix broken KafkaEmitterConfig parsing#5201

Merged
jon-wei merged 2 commits intoapache:masterfrom
nishantmonu51:kafka-emitter-fix
Jan 3, 2018
Merged

Fix broken KafkaEmitterConfig parsing#5201
jon-wei merged 2 commits intoapache:masterfrom
nishantmonu51:kafka-emitter-fix

Conversation

@nishantmonu51
Copy link
Copy Markdown
Member

@nishantmonu51 nishantmonu51 commented Jan 1, 2018

Fixes - #5198
This was a regression introduced in
#4722

KafkaEmitterConfig property names have dot(.) in the name of properties
and JsonConfigurator behavior was changed to not support that.

Added a test and fixed parsing of properties that have dot(.) in
property names

This was a regression introduced in
apache#4722

KafkaEmitterConfig property names have dot(.) in the name of properties
and JsonConfigurator behavior was changed to not support that.
Added a test and fixed parsing of properties that have dot(.) in
property names
@nishantmonu51
Copy link
Copy Markdown
Member Author

Just noticed this breaks ParametrizedUriEmitterConfig.
Closing for now. will reopen with proper fix.

@quenlang
Copy link
Copy Markdown

quenlang commented Jan 3, 2018

@nishantmonu51 Does it will merge into Druid 0.12.0?

@nishantmonu51
Copy link
Copy Markdown
Member Author

fixed test failures.

@nishantmonu51 nishantmonu51 reopened this Jan 3, 2018
@jon-wei jon-wei merged commit 59af4d3 into apache:master Jan 3, 2018
@jon-wei
Copy link
Copy Markdown
Contributor

jon-wei commented Jan 3, 2018

@nishantmonu51 cool, can you backport this?

jon-wei pushed a commit to jon-wei/druid that referenced this pull request Jan 3, 2018
* Fix broken KafkaEmitterConfig parsing

This was a regression introduced in
apache#4722

KafkaEmitterConfig property names have dot(.) in the name of properties
and JsonConfigurator behavior was changed to not support that.
Added a test and fixed parsing of properties that have dot(.) in
property names

* Fix test failure
@jon-wei
Copy link
Copy Markdown
Contributor

jon-wei commented Jan 3, 2018

@nishantmonu51 I went ahead and made a backport for this

jon-wei added a commit that referenced this pull request Jan 4, 2018
* Fix broken KafkaEmitterConfig parsing

This was a regression introduced in
#4722

KafkaEmitterConfig property names have dot(.) in the name of properties
and JsonConfigurator behavior was changed to not support that.
Added a test and fixed parsing of properties that have dot(.) in
property names

* Fix test failure
gianm pushed a commit that referenced this pull request Jan 9, 2018
* Fix broken KafkaEmitterConfig parsing

This was a regression introduced in
#4722

KafkaEmitterConfig property names have dot(.) in the name of properties
and JsonConfigurator behavior was changed to not support that.
Added a test and fixed parsing of properties that have dot(.) in
property names

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants