This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Allow customization of PubSubReactiveFactory
's maxMessages
property.
#2451
Labels
As of #2441,
PubSubReactiveFactory
's constructor acceptsmaxMessages
for requesting a batch of messages up to this number when polling Cloud Pub/Sub.We should introduce a property
spring.cloud.gcp.pubsub.reactive.polled-message-batch-size
to customize the autoconfigured setting inGcpPubSubReactiveAutoConfiguration
. Feel free to come up with a better name thanpolled-message-batch-size
.This will require creating a new properties class
org.springframework.cloud.gcp.autoconfigure.GcpPubSubReactiveProperties
, and using it inGcpPubSubReactiveAutoConfiguration
.Additionally, the new property will need to be added to documentation
The text was updated successfully, but these errors were encountered: