Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yongtang
Copy link
Member

@yongtang yongtang commented Jan 12, 2019

This PR is part of the effort to support Google Cloud PubSub, which is a vendor specific cloud streaming platform on GCP. The concept of PubSub is similar to Apache Kafka.

Google Cloud PubSub does not have a C++ SDK, though it has a gRPC endpoint so this implementation is based on gRPC.

This implementation is tested with google cloud pubsub emulator for now. Will need additional effort to bring GCP IAM support in place.

This PR fixes #31.

@yongtang yongtang changed the title Add Google Cloud PubSub support [WIP] Add Google Cloud PubSub support Jan 12, 2019
@yongtang yongtang force-pushed the pubsub branch 6 times, most recently from cb443c8 to 34d2289 Compare February 23, 2019 05:43
@yongtang yongtang changed the title [WIP] Add Google Cloud PubSub support Add Google Cloud PubSub support Feb 23, 2019
@yongtang yongtang changed the title Add Google Cloud PubSub support [WIP] Add Google Cloud PubSub support Feb 23, 2019
@yongtang yongtang changed the title [WIP] Add Google Cloud PubSub support Add Google Cloud PubSub support Feb 26, 2019
Signed-off-by: Yong Tang <[email protected]>
to address the issue in grpc where `-D_GLIBCXX_USE_CXX11_ABI=0`
is not passed automatically

Signed-off-by: Yong Tang <[email protected]>
@yongtang
Copy link
Member Author

/cc @terrytangyuan This PR is also ready. The build is enabled in macOS and Linux. The test is done in Linux (skipped on macOS for now as there seems to be a bug in google SDK's macOS support?).

Please take a look

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Looks great! Though I wonder where we should keep the compatibility matrix, e.g. some ops don't work on certain system, etc.

echo Wait 15 secs until kafka is up and running
# Note somehow it takes longer time in Darwin
sleep 15
sleep 5
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't take longer anymore in Darwin?

@terrytangyuan terrytangyuan merged commit 71cf16a into tensorflow:master Feb 28, 2019
@yongtang yongtang deleted the pubsub branch February 28, 2019 16:46
i-ony pushed a commit to i-ony/io that referenced this pull request Feb 8, 2021
Add Google Cloud PubSub support
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.

Support Cloud PubSub for tensorflow-io

2 participants