Skip to content

MINOR: Split at first occurrence of '=' in kafka.py props parsing (cherry-pick on 2.0)#7042

Merged
cmccabe merged 1 commit intoapache:2.0from
kkonstantine:MINOR-fix-split-on-equals
Jul 8, 2019
Merged

MINOR: Split at first occurrence of '=' in kafka.py props parsing (cherry-pick on 2.0)#7042
cmccabe merged 1 commit intoapache:2.0from
kkonstantine:MINOR-fix-split-on-equals

Conversation

@kkonstantine
Copy link
Copy Markdown
Contributor

This also cherry picks the fix that was missed when #6949 cherry-picked the changes introduced by #5226 to branch 2.0. The original message of the fix is as follows:

This is a fix to #5226 to account for config properties that have an
equal char in the value. Otherwise if there is one
equal char in the value the following error occurs:

dictionary update sequence element #XX has length 3; 2 is required

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

…ache#5549)

This is a fix to apache#5226 to account for config properties that have an
equal char in the value.   Otherwise if there is one
equal char in the value the following error occurs:

dictionary update sequence element #XX has length 3; 2 is required

Reviewers: Colin Patrick McCabe <colin@cmccabe.xyz>, Ismael Juma <ismael@juma.me.uk>
@kkonstantine
Copy link
Copy Markdown
Contributor Author

@ijuma @cmccabe @omkreddy I issued this PR to highlight the fix. Feel free to merge this one on 2.0 or cherry-pick the original commit instead ( #5549 ), whatever is easier. I'm not targeting trunk as we usually do because the fix is already present there. It needs to be cherry-picked to 2.0 as #6949 was.

@cmccabe
Copy link
Copy Markdown
Contributor

cmccabe commented Jul 8, 2019

LGTM

@cmccabe cmccabe merged commit ce1d3cd into apache:2.0 Jul 8, 2019
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