Skip to content
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

CloudPubSubConnector Message Aggregation #227

Open
yaronworldwide opened this issue Jun 16, 2020 · 3 comments
Open

CloudPubSubConnector Message Aggregation #227

yaronworldwide opened this issue Jun 16, 2020 · 3 comments

Comments

@yaronworldwide
Copy link

yaronworldwide commented Jun 16, 2020

Hi ,

I would like to tune KafkaConnect so it will aggregate multiple records in a single pubsub msg.
Is this requirement currently supported ?

Regards,

@kamalaboulhosn
Copy link
Collaborator

Do you mean a single Pub/Sub request, i.e., messages are batched together and sent as a single batch to the service or do you mean they are aggregated into a single PubSubMessage? If the former, yes, this is supported. You can use the maxBufferSize, maxBufferBytes, and maxDelayThresholdMs properties to control the batching. If you mean the latter, then no, that is not supported.

@yaronworldwide
Copy link
Author

Hey ,
I mean aggregated into a single PubSubMessage .

@kamalaboulhosn
Copy link
Collaborator

What is the use case for this aggregation and what would you expect it to look like? The PubSubMessage is just bytes. How would the data be encoded in that message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants