-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy Kafka headers to PubSub attributes #200
Conversation
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with the change in terms of adding support for headers. Just a few comments/clarifications and some changes that may need to be made. Thanks!
kafka-connector/src/main/java/com/google/pubsub/kafka/sink/CloudPubSubSinkTask.java
Show resolved
Hide resolved
kafka-connector/src/main/java/com/google/pubsub/kafka/source/CloudPubSubSourceTask.java
Show resolved
Hide resolved
…cesing PubSub attributes so they can be stored within a Kafka structure or record headers. * Apply a filter on CloudPubSubSinkTask when publishing PubSub attributes to exclude those who are not compatible due to Pubsub limitations. * Updated README to reflect this changes. * Updated unit tests.
Sorry for the delay in looking at this. I have verified the CLA checks manually and will merge. Thanks for the improvements! |
Same as previous failed attempt, I'm generating this pull request to allow to copy Kafka attributes to PubSub headers (like PR #195)