Skip to content

Conversation

@mxm
Copy link
Contributor

@mxm mxm commented Apr 16, 2019

This adds KafkaIO.Write as an external transform and includes a Python
wrapper (WriteToKafka) for convenience.

CC @chamikaramj @ihji @robertwb @tweise

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@mxm
Copy link
Contributor Author

mxm commented Apr 16, 2019

Run Python PreCommit

@mxm
Copy link
Contributor Author

mxm commented Apr 25, 2019

Planning to merge this later today if there are no further comments.

@tweise
Copy link
Contributor

tweise commented Apr 25, 2019

We should allow the user to specify the environment for the external transform. Would like to be able to use EMBEDDED when using the Flink runner.

@mxm
Copy link
Contributor Author

mxm commented Apr 25, 2019

I already discovered this before opening this PR and created https://jira.apache.org/jira/browse/BEAM-7084. I think this can be solved independently of this PR.

Copy link
Contributor

@aromanenko-dev aromanenko-dev left a comment

Choose a reason for hiding this comment

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

Added a couple of minor notes.

Copy link
Contributor

@chamikaramj chamikaramj left a comment

Choose a reason for hiding this comment

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

Thanks Max. LGTM other than few minor comments.

'Expected to fail due to invalid bootstrap.servers, but '
'failed due to:\n%s' % str(ctx.exception))

# We just test the expansion but do not execute.
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI: @ihji is looking into adding a validates runner test suite for cross-language transforms that includes Kafka.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I saw the PR (#8397). That will be great to extend our test coverage here.

This adds KafkaIO.Write as an external transform and includes a Python
wrapper (WriteToKafka) for convenience.
@mxm
Copy link
Contributor Author

mxm commented Apr 26, 2019

Thanks for all the comments!

@mxm mxm merged commit 077223e into apache:master Apr 26, 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.

6 participants