-
Notifications
You must be signed in to change notification settings - Fork 365
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
GCP Pub/Sub Source Connector #1224
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
davidsloan
force-pushed
the
feat/gcp-pubsub
branch
4 times, most recently
from
May 17, 2024 15:22
6b14f2a
to
55ee98e
Compare
davidsloan
force-pushed
the
feat/gcp-pubsub
branch
2 times, most recently
from
May 20, 2024 08:03
9f68465
to
839f5bd
Compare
stheppi
reviewed
May 20, 2024
...ors/kafka-connect-common/src/main/java/io/lenses/streamreactor/common/util/ListSplitter.java
Show resolved
Hide resolved
stheppi
reviewed
May 20, 2024
...kafka-connect-common/src/test/java/io/lenses/streamreactor/common/util/ListSplitterTest.java
Show resolved
Hide resolved
stheppi
reviewed
May 20, 2024
...rc/main/java/io/lenses/streamreactor/connect/gcp/pubsub/source/GCPPubSubSourceConnector.java
Outdated
Show resolved
Hide resolved
stheppi
reviewed
May 20, 2024
...in/java/io/lenses/streamreactor/connect/gcp/pubsub/source/mapping/SourceRecordConverter.java
Outdated
Show resolved
Hide resolved
stheppi
reviewed
May 20, 2024
.../io/lenses/streamreactor/connect/gcp/pubsub/source/mapping/headers/MinimalHeaderMapping.java
Outdated
Show resolved
Hide resolved
stheppi
reviewed
May 20, 2024
...main/java/io/lenses/streamreactor/connect/gcp/pubsub/source/subscriber/PubSubSubscriber.java
Outdated
Show resolved
Hide resolved
GoMati-MU
previously requested changes
May 21, 2024
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.
Some remarks from me. I really like most of the logic around PubSub, but other classes (e.g. util ones) have more questionable approach.
...ka-connect-common/src/main/java/io/lenses/streamreactor/common/config/base/KcqlSettings.java
Outdated
Show resolved
Hide resolved
java-connectors/kafka-connect-query-language/src/main/java/io/lenses/kcql/Kcql.java
Show resolved
Hide resolved
java-connectors/kafka-connect-query-language/src/main/java/io/lenses/kcql/Kcql.java
Show resolved
Hide resolved
...ors/kafka-connect-common/src/main/java/io/lenses/streamreactor/common/util/ListSplitter.java
Show resolved
Hide resolved
...nectors/kafka-connect-common/src/main/java/io/lenses/streamreactor/common/util/MapUtils.java
Outdated
Show resolved
Hide resolved
...n/java/io/lenses/streamreactor/connect/gcp/pubsub/source/subscriber/LooselyBoundedQueue.java
Show resolved
Hide resolved
...main/java/io/lenses/streamreactor/connect/gcp/pubsub/source/subscriber/PubSubSubscriber.java
Show resolved
Hide resolved
...src/main/java/io/lenses/streamreactor/connect/gcp/pubsub/source/subscriber/SourceOffset.java
Outdated
Show resolved
Hide resolved
.../main/java/io/lenses/streamreactor/connect/gcp/pubsub/source/subscriber/SourcePartition.java
Outdated
Show resolved
Hide resolved
java-connectors/kafka-connect-gcp-pubsub/src/main/resources/gcp-pubsub-ascii-source.txt
Show resolved
Hide resolved
GoMati-MU
reviewed
May 21, 2024
...va/io/lenses/streamreactor/connect/gcp/pubsub/source/configdef/PubSubConfigSettingsTest.java
Show resolved
Hide resolved
davidsloan
force-pushed
the
feat/gcp-pubsub
branch
from
May 21, 2024 13:20
c1475ff
to
f488266
Compare
stheppi
approved these changes
May 21, 2024
…treamreactor/common/config/base/KcqlSettings.java Co-authored-by: Mati Urban <157909548+GoMati-MU@users.noreply.github.com> Signed-off-by: David Sloan <33483659+davidsloan@users.noreply.github.com>
davidsloan
force-pushed
the
feat/gcp-pubsub
branch
from
May 21, 2024 20:34
5bb63d6
to
5a32bd9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the GCP Pub/Sub Source Connector, for copying data from GCP Pub/Sub into Kafka.
This supports the following configuration:
Connector Properties
connect.pubsub.gcp.auth.mode
Credentials
", "File
", or "Default
"connect.pubsub.gcp.credentials
auth.mode
" credentials: GCP Authentication credentials string.connect.pubsub.gcp.file
auth.mode
" file: Local file path for file containing GCP authentication credentials.connect.pubsub.gcp.project.id
connect.pubsub.output.mode
Compatibility
" (to match output of non-Lenses connector) or "Default
".KCQL Properties
batch.size
poll
request (per PubSub partition).cache.ttl
queue.max