Skip to content

Fixed python function context.publish with properties - #4253

Closed
merlimat wants to merge 1 commit into
apache:masterfrom
merlimat:fix-context-publish
Closed

merlimat wants to merge 1 commit into
apache:masterfrom
merlimat:fix-context-publish

Conversation

@merlimat

Copy link
Copy Markdown
Contributor

Motivation

In context.publish() the properties args was deprecated. There are now 2 context.publish() methods with different args. The problem is that a function using the old deprecated list of param is ending up with the new method even though it's passing properties arg.

We need to make sure the old function keeps working in this scenario.

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label May 10, 2019
@merlimat merlimat added this to the 2.4.0 milestone May 10, 2019
@merlimat
merlimat requested a review from srkukarni May 10, 2019 00:40
@merlimat merlimat self-assigned this May 10, 2019
@srkukarni

Copy link
Copy Markdown
Contributor

run java8 tests
run integration tests

@@ -152,7 +152,7 @@ def callback_wrapper(self, callback, topic, message_id, result, msg):
def publish(self, topic_name, message, serde_class_name="serde.IdentitySerDe", properties=None, compression_type=None, callback=None):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@merlimat we can delete this method then

@jerrypeng

Copy link
Copy Markdown
Contributor

rerun java8 tests
rerun integration tests

2 similar comments
@jerrypeng

Copy link
Copy Markdown
Contributor

rerun java8 tests
rerun integration tests

@jerrypeng

Copy link
Copy Markdown
Contributor

rerun java8 tests
rerun integration tests

@srkukarni

Copy link
Copy Markdown
Contributor

closing this in favor of #4289

@srkukarni srkukarni closed this May 16, 2019
@merlimat merlimat reopened this May 16, 2019
@merlimat merlimat closed this May 16, 2019
@merlimat
merlimat deleted the fix-context-publish branch May 16, 2019 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants