- CachingPublisherFactory - Class in com.google.cloud.spring.pubsub.support
-
- CachingPublisherFactory(PublisherFactory) - Constructor for class com.google.cloud.spring.pubsub.support.CachingPublisherFactory
-
- CLIENT - Static variable in class com.google.cloud.spring.pubsub.support.GcpPubSubHeaders
-
The client header text.
- close() - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
- com.google.cloud.spring.pubsub - package com.google.cloud.spring.pubsub
-
Spring Cloud GCP Pub/Sub module.
- com.google.cloud.spring.pubsub.core - package com.google.cloud.spring.pubsub.core
-
Core support for Pub/Sub in Spring.
- com.google.cloud.spring.pubsub.core.health - package com.google.cloud.spring.pubsub.core.health
-
- com.google.cloud.spring.pubsub.core.publisher - package com.google.cloud.spring.pubsub.core.publisher
-
Operations and template for publishing in Spring Cloud GCP Pub/Sub.
- com.google.cloud.spring.pubsub.core.subscriber - package com.google.cloud.spring.pubsub.core.subscriber
-
Operations and template for subscribing in Spring Cloud GCP Pub/Sub.
- com.google.cloud.spring.pubsub.integration - package com.google.cloud.spring.pubsub.integration
-
Spring Integration support in Spring Cloud GCP Pub/Sub.
- com.google.cloud.spring.pubsub.integration.inbound - package com.google.cloud.spring.pubsub.integration.inbound
-
Inbound support classes for Spring Integration support in Spring Cloud GCP Pub/Sub.
- com.google.cloud.spring.pubsub.integration.outbound - package com.google.cloud.spring.pubsub.integration.outbound
-
Google Cloud Pub/Sub outbound integration classes for Spring Integration.
- com.google.cloud.spring.pubsub.reactive - package com.google.cloud.spring.pubsub.reactive
-
- com.google.cloud.spring.pubsub.support - package com.google.cloud.spring.pubsub.support
-
Supporting classes for handling messages in Spring Cloud GCP Pub/Sub.
- com.google.cloud.spring.pubsub.support.converter - package com.google.cloud.spring.pubsub.support.converter
-
Classes related to converting messages in Spring Cloud GCP Pub/Sub.
- computeMaxAckExtensionPeriod(String, String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
Computes the max extension period.
- computeParallelPullCount(String, String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
Computes parallel pull count.
- computePullEndpoint(String, String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
Returns the pull endpoint.
- computeRetryableCodes(String, String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
Retrieves collection of retryable codes from configuration.
- computeSubscriberFlowControlSettings(String, String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
Computes flow control settings to use.
- computeSubscriberRetrySettings(String, String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
Computes the retry settings.
- ConvertedAcknowledgeablePubsubMessage<T> - Interface in com.google.cloud.spring.pubsub.support.converter
-
- ConvertedBasicAcknowledgeablePubsubMessage<T> - Interface in com.google.cloud.spring.pubsub.support.converter
-
- createPublisher(String) - Method in class com.google.cloud.spring.pubsub.support.CachingPublisherFactory
-
- createPublisher(String) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
- createPublisher(String) - Method in interface com.google.cloud.spring.pubsub.support.PublisherFactory
-
- createPullRequest(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- createPullRequest(String, Integer, Boolean) - Method in interface com.google.cloud.spring.pubsub.support.SubscriberFactory
-
Create a PullRequest for synchronously pulling a number of messages from a Google Cloud
Pub/Sub subscription.
- createSubscriber(String, MessageReceiver) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- createSubscriber(String, MessageReceiver) - Method in interface com.google.cloud.spring.pubsub.support.SubscriberFactory
-
Create a
Subscriber for the specified subscription name and wired it up to
asynchronously deliver messages to the provided
MessageReceiver.
- createSubscriberStub() - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- createSubscriberStub(String) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- createSubscriberStub() - Method in interface com.google.cloud.spring.pubsub.support.SubscriberFactory
-
- createSubscriberStub(String) - Method in interface com.google.cloud.spring.pubsub.support.SubscriberFactory
-
- createSubscription(String, String) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Create a new subscription on Google Cloud Pub/Sub.
- createSubscription(String, String, Integer) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Create a new subscription on Google Cloud Pub/Sub.
- createSubscription(String, String, String) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Create a new subscription on Google Cloud Pub/Sub.
- createSubscription(String, String, Integer, String) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Create a new subscription on Google Cloud Pub/Sub.
- createSubscription(Subscription.Builder) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Create a new subscription on Google Cloud Pub/Sub.
- createTopic(String) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Create a new topic on Google Cloud Pub/Sub.
- poll(String, long) - Method in class com.google.cloud.spring.pubsub.reactive.PubSubReactiveFactory
-
- processedMessage() - Method in interface com.google.cloud.spring.pubsub.core.health.HealthTracker
-
Record that a message has been processed.
- processedMessage() - Method in class com.google.cloud.spring.pubsub.core.health.HealthTrackerImpl
-
- processedMessage(ProjectSubscriptionName) - Method in interface com.google.cloud.spring.pubsub.core.health.HealthTrackerRegistry
-
Propagate that a message has been processed to the corresponding
HealthTracker if
registered.
- processedMessage(ProjectSubscriptionName) - Method in class com.google.cloud.spring.pubsub.core.health.HealthTrackerRegistryImpl
-
- publish(String, T, Map<String, String>) - Method in interface com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherOperations
-
Send a message to Pub/Sub.
- publish(String, T) - Method in interface com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherOperations
-
Send a message to Pub/Sub.
- publish(String, PubsubMessage) - Method in interface com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherOperations
-
Send a message to Pub/Sub.
- publish(String, T, Map<String, String>) - Method in class com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherTemplate
-
Uses the configured message converter to first convert the payload and headers to a PubsubMessage and then publish it.
- publish(String, T) - Method in class com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherTemplate
-
- publish(String, PubsubMessage) - Method in class com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherTemplate
-
- publish(String, T, Map<String, String>) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
Uses the configured message converter to first convert the payload and headers to a PubsubMessage and then publish it.
- publish(String, T) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- publish(String, PubsubMessage) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- Publisher() - Constructor for class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Publisher
-
- PublisherFactory - Interface in com.google.cloud.spring.pubsub.support
-
The publisher factory interface that can create publishers.
- PubSubAcknowledgmentCallback - Class in com.google.cloud.spring.pubsub.integration.inbound
-
Pub/Sub specific implementation of AcknowledgmentCallback.
- PubSubAcknowledgmentCallback(AcknowledgeablePubsubMessage, AckMode) - Constructor for class com.google.cloud.spring.pubsub.integration.inbound.PubSubAcknowledgmentCallback
-
Instantiates a callback for a given message and acknowledgement mode.
- PubSubAdmin - Class in com.google.cloud.spring.pubsub
-
Pub/Sub admin utility that creates new topics and subscriptions on Google Cloud Pub/Sub.
- PubSubAdmin(GcpProjectIdProvider, CredentialsProvider) - Constructor for class com.google.cloud.spring.pubsub.PubSubAdmin
-
This constructor instantiates TopicAdminClient and SubscriptionAdminClient with all their
defaults and the provided credentials provider.
- PubSubAdmin(GcpProjectIdProvider, TopicAdminClient, SubscriptionAdminClient) - Constructor for class com.google.cloud.spring.pubsub.PubSubAdmin
-
Instantiates PubSubAdmin with provided topic/subscription client.
- PubSubConfiguration - Class in com.google.cloud.spring.pubsub.core
-
Properties for Publisher or Subscriber specific configurations.
- PubSubConfiguration() - Constructor for class com.google.cloud.spring.pubsub.core.PubSubConfiguration
-
- PubSubConfiguration.Batching - Class in com.google.cloud.spring.pubsub.core
-
Batching settings.
- PubSubConfiguration.FlowControl - Class in com.google.cloud.spring.pubsub.core
-
flow control settings.
- PubSubConfiguration.Health - Class in com.google.cloud.spring.pubsub.core
-
Health Check settings.
- PubSubConfiguration.Publisher - Class in com.google.cloud.spring.pubsub.core
-
Publisher settings.
- PubSubConfiguration.Retry - Class in com.google.cloud.spring.pubsub.core
-
Retry settings.
- PubSubConfiguration.Subscriber - Class in com.google.cloud.spring.pubsub.core
-
Subscriber settings.
- PubSubDeliveryException - Exception in com.google.cloud.spring.pubsub.core
-
- PubSubDeliveryException(PubsubMessage, String, Throwable) - Constructor for exception com.google.cloud.spring.pubsub.core.PubSubDeliveryException
-
- PubSubException - Exception in com.google.cloud.spring.pubsub.core
-
The Spring Google Cloud Pub/Sub specific NestedRuntimeException.
- PubSubException(String) - Constructor for exception com.google.cloud.spring.pubsub.core.PubSubException
-
- PubSubException(String, Throwable) - Constructor for exception com.google.cloud.spring.pubsub.core.PubSubException
-
- PubSubHeaderMapper - Class in com.google.cloud.spring.pubsub.integration
-
Maps headers from PubsubMessages to Messages and vice-versa.
- PubSubHeaderMapper() - Constructor for class com.google.cloud.spring.pubsub.integration.PubSubHeaderMapper
-
- PubSubInboundChannelAdapter - Class in com.google.cloud.spring.pubsub.integration.inbound
-
Converts from GCP Pub/Sub message to Spring message and sends the Spring message to the attached
channels.
- PubSubInboundChannelAdapter(PubSubSubscriberOperations, String) - Constructor for class com.google.cloud.spring.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
Instantiates a streaming Pub/Sub subscirtion adapter.
- PubSubMessageConversionException - Exception in com.google.cloud.spring.pubsub.support.converter
-
An exception raised when conversion to or from a PubsubMessage
fails.
- PubSubMessageConversionException(String) - Constructor for exception com.google.cloud.spring.pubsub.support.converter.PubSubMessageConversionException
-
- PubSubMessageConversionException(String, Throwable) - Constructor for exception com.google.cloud.spring.pubsub.support.converter.PubSubMessageConversionException
-
- PubSubMessageConverter - Interface in com.google.cloud.spring.pubsub.support.converter
-
Interface for converters that can convert POJOs to and from Pub/Sub messages.
- PubSubMessageHandler - Class in com.google.cloud.spring.pubsub.integration.outbound
-
Outbound channel adapter to publish messages to Google Cloud Pub/Sub.
- PubSubMessageHandler(PubSubPublisherOperations, String) - Constructor for class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Instantiates an outbound adapter for publishing messages to a topic.
- PubSubMessageHandler.FailureCallback - Interface in com.google.cloud.spring.pubsub.integration.outbound
-
Implement this callback to post-process a message that failed to publish to Cloud Pub/Sub.
- PubSubMessageHandler.SuccessCallback - Interface in com.google.cloud.spring.pubsub.integration.outbound
-
Implement this callback to post-process a successfully published message.
- PubSubMessageSource - Class in com.google.cloud.spring.pubsub.integration.inbound
-
- PubSubMessageSource(PubSubSubscriberOperations, String) - Constructor for class com.google.cloud.spring.pubsub.integration.inbound.PubSubMessageSource
-
Instantiates a Pub/Sub inbound message adapter to poll a given subscription for messages.
- PubSubOperations - Interface in com.google.cloud.spring.pubsub.core
-
An abstraction for Google Cloud Pub/Sub for publish and subscribe / pull methods.
- PubSubPublisherOperations - Interface in com.google.cloud.spring.pubsub.core.publisher
-
An abstraction for Google Cloud Pub/Sub publisher operations.
- PubSubPublisherTemplate - Class in com.google.cloud.spring.pubsub.core.publisher
-
- PubSubPublisherTemplate(PublisherFactory) - Constructor for class com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherTemplate
-
- PubSubReactiveFactory - Class in com.google.cloud.spring.pubsub.reactive
-
A factory for procuring Flux instances backed by GCP Pub/Sub Subscriptions.
- PubSubReactiveFactory(PubSubSubscriberOperations, Scheduler) - Constructor for class com.google.cloud.spring.pubsub.reactive.PubSubReactiveFactory
-
Instantiate `PubSubReactiveFactory` capable of generating subscription-based streams.
- PubSubReactiveFactory(PubSubSubscriberOperations, Scheduler, int) - Constructor for class com.google.cloud.spring.pubsub.reactive.PubSubReactiveFactory
-
Instantiate `PubSubReactiveFactory` capable of generating subscription-based streams.
- PubSubSubscriberOperations - Interface in com.google.cloud.spring.pubsub.core.subscriber
-
An abstraction for Google Cloud Pub/Sub subscription / pulling operations.
- PubSubSubscriberTemplate - Class in com.google.cloud.spring.pubsub.core.subscriber
-
- PubSubSubscriberTemplate(SubscriberFactory) - Constructor for class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- PubSubSubscriptionUtils - Class in com.google.cloud.spring.pubsub.support
-
Various utility methods for dealing with Pub/Sub subscriptions.
- PubSubTemplate - Class in com.google.cloud.spring.pubsub.core
-
- PubSubTemplate(PublisherFactory, SubscriberFactory) - Constructor for class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- PubSubTemplate(PubSubPublisherTemplate, PubSubSubscriberTemplate) - Constructor for class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- PubSubTopicUtils - Class in com.google.cloud.spring.pubsub.support
-
Various utility methods for dealing with Pub/Sub topics.
- pull(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pull(String, Integer, Boolean) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull a number of messages from a Google Cloud Pub/Sub subscription.
- pull(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAndAck(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullAndAck(String, Integer, Boolean) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull and auto-acknowledge a number of messages from a Google Cloud Pub/Sub subscription.
- pullAndAck(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAndAckAsync(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullAndAckAsync(String, Integer, Boolean) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Asynchronously pull and auto-acknowledge a number of messages from a Google Cloud Pub/Sub
subscription.
- pullAndAckAsync(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAndConvert(String, Integer, Boolean, Class<T>) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullAndConvert(String, Integer, Boolean, Class<T>) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull a number of messages from a Google Cloud Pub/Sub subscription and convert them to Spring
messages with the desired payload type.
- pullAndConvert(String, Integer, Boolean, Class<T>) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAndConvertAsync(String, Integer, Boolean, Class<T>) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullAndConvertAsync(String, Integer, Boolean, Class<T>) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Asynchronously pull a number of messages from a Google Cloud Pub/Sub subscription and convert
them to Spring messages with the desired payload type.
- pullAndConvertAsync(String, Integer, Boolean, Class<T>) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAsync(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullAsync(String, Integer, Boolean) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Asynchronously pull a number of messages from a Google Cloud Pub/Sub subscription.
- pullAsync(String, Integer, Boolean) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullNext(String) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullNext(String) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull and auto-acknowledge a message from a Google Cloud Pub/Sub subscription.
- pullNext(String) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullNextAsync(String) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- pullNextAsync(String) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Asynchronously pull and auto-acknowledge a message from a Google Cloud Pub/Sub subscription.
- pullNextAsync(String) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- setAckExecutor(Executor) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
Sets the
Executor to control per-subscription batch parallelization in acknowledgement
and deadline operations.
- setAckMode(AckMode) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
- setAckMode(AckMode) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubMessageSource
-
- setApiClock(ApiClock) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the clock to use for the retry logic in synchronous pulling.
- setAsyncPullExecutor(Executor) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
Set a custom
Executor to control the threads that process the responses of the
asynchronous pull callback operations.
- setBacklogThreshold(Integer) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Health
-
- setBatchingSettings(BatchingSettings) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the API call batching configuration.
- setBlockOnPull(boolean) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubMessageSource
-
Instructs synchronous pull to wait until at least one message is available.
- setChannelProvider(TransportChannelProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the provider for the channel to be used by the publisher.
- setChannelProvider(TransportChannelProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the subscribers' transport channel.
- setCredentialsProvider(CredentialsProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the provider for the GCP credentials to be used by the publisher on every API calls it
makes.
- setCredentialsProvider(CredentialsProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the GCP credentials to be used by the subscribers' API calls.
- setDefaultAckDeadline(int) - Method in class com.google.cloud.spring.pubsub.PubSubAdmin
-
Set the default acknowledgement deadline value.
- setDelayThresholdSeconds(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Batching
-
- setElementCountThreshold(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Batching
-
- setEnabled(Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Batching
-
- setEnableMessageOrdering(Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Publisher
-
- setEnableMessageOrdering(Boolean) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set whether message ordering should be enabled on the publisher.
- setEndpoint(String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Publisher
-
- setEndpoint(String) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the publisher endpoint.
- setExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the provider for the executor that will be used by the publisher.
- setExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the subscribers' executor.
- setExecutorProviderMap(ConcurrentMap<String, ExecutorProvider>) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- setExecutorThreads(int) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Health
-
- setExecutorThreads(int) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Publisher
-
- setExecutorThreads(int) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
Set the number of executor threads.
- setFailureCallback(PubSubMessageHandler.FailureCallback) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set callback (can be a lambda) for processing the root cause exception and the original Message in case of failure.
- setFlowControlSettings(FlowControlSettings) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the flow control for the subscribers, including the behaviour for when the flow limits are
hit.
- setFlowControlSettingsMap(ConcurrentMap<String, FlowControlSettings>) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- setGlobalExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- setGlobalFlowControlSettings(FlowControlSettings) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- setGlobalRetrySettings(RetrySettings) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- setHeaderMapper(HeaderMapper<Map<String, String>>) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
Set the header mapper to map headers from incoming PubsubMessage
into Message.
- setHeaderMapper(HeaderMapper<Map<String, String>>) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubMessageSource
-
- setHeaderMapper(HeaderMapper<Map<String, String>>) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the header mapper to map headers from Message into outbound PubsubMessage.
- setHeaderProvider(HeaderProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the provider for the HTTP headers to be used in the Pub/Sub REST API requests.
- setHeaderProvider(HeaderProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the HTTP headers to be added to the subscribers' REST API calls.
- setHealthTrackerRegistry(HealthTrackerRegistry) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
- setHealthTrackerRegistry(HealthTrackerRegistry) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the health tracker chain for the generated subscriptions.
- setInboundHeaderPatterns(String...) - Method in class com.google.cloud.spring.pubsub.integration.PubSubHeaderMapper
-
- setInitialRetryDelaySeconds(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setInitialRpcTimeoutSeconds(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setJittered(Boolean) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setLagThreshold(Integer) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Health
-
- setLimitExceededBehavior(FlowController.LimitExceededBehavior) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.FlowControl
-
- setLookUpInterval(Integer) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Health
-
- setMaxAckExtensionPeriod(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
- setMaxAckExtensionPeriod(Duration) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the maximum period the ack timeout is extended by.
- setMaxAcknowledgementThreads(int) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
- setMaxAttempts(Integer) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setMaxOutstandingElementCount(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.FlowControl
-
- setMaxOutstandingRequestBytes(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.FlowControl
-
- setMaxRetryDelaySeconds(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setMaxRpcTimeoutSeconds(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setMessageConverter(PubSubMessageConverter) - Method in class com.google.cloud.spring.pubsub.core.publisher.PubSubPublisherTemplate
-
- setMessageConverter(PubSubMessageConverter) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- setMessageConverter(PubSubMessageConverter) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
Set the converter used to convert a message payload to the desired type.
- setOutboundHeaderPatterns(String...) - Method in class com.google.cloud.spring.pubsub.integration.PubSubHeaderMapper
-
- setParallelPullCount(Integer) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
- setParallelPullCount(Integer) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the number of pull workers.
- setPayloadType(Class<?>) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
Set the desired type of the payload of the Message
constructed by converting the incoming Pub/Sub message.
- setPayloadType(Class<?>) - Method in class com.google.cloud.spring.pubsub.integration.inbound.PubSubMessageSource
-
- setPublishCallback(ListenableFutureCallback<String>) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
- setPublishTimeout(long) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the timeout in milliseconds for a synchronous publish call to Google Cloud Pub/Sub.
- setPublishTimeoutExpression(Expression) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the SpEL expression to evaluate a timeout in milliseconds for a synchronous publish call to
Google Cloud Pub/Sub.
- setPublishTimeoutExpressionString(String) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the SpEL expression to evaluate a timeout in milliseconds for a synchronous publish call to
Google Cloud Pub/Sub from a string.
- setPullEndpoint(String) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
- setPullEndpoint(String) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the endpoint for synchronous pulling messages.
- setRequestByteThreshold(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Batching
-
- setRetryableCodes(StatusCode.Code[]) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
- setRetryableCodes(StatusCode.Code[]) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the retryable codes for subscriber pull settings.
- setRetryDelayMultiplier(Double) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setRetrySettings(RetrySettings) - Method in class com.google.cloud.spring.pubsub.support.DefaultPublisherFactory
-
Set the API call retry configuration.
- setRetrySettingsMap(ConcurrentMap<String, RetrySettings>) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
- setRpcTimeoutMultiplier(Double) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- setSubscriberStubRetrySettings(RetrySettings) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the retry settings for the generated subscriber stubs.
- setSuccessCallback(PubSubMessageHandler.SuccessCallback) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set callback (can be a lambda) for processing the published message ID and the original Message after the message was successfully published.
- setSync(boolean) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set publish method to be synchronous or asynchronous.
- setSystemExecutorProvider(ExecutorProvider) - Method in class com.google.cloud.spring.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the system executor, to poll and manage lease extensions.
- setTopic(String) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the topic where this adapter sends messages to.
- setTopicExpression(Expression) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the SpEL expression for the topic this adapter sends messages to.
- setTopicExpressionString(String) - Method in class com.google.cloud.spring.pubsub.integration.outbound.PubSubMessageHandler
-
Set the topic expression string that is evaluated into an actual expression.
- setTotalTimeoutSeconds(Long) - Method in class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Retry
-
- SimplePubSubMessageConverter - Class in com.google.cloud.spring.pubsub.support.converter
-
A simple
PubSubMessageConverter that directly maps payloads of type
byte[],
ByteString,
ByteBuffer, and
String to Pub/Sub messages.
- SimplePubSubMessageConverter() - Constructor for class com.google.cloud.spring.pubsub.support.converter.SimplePubSubMessageConverter
-
- SimplePubSubMessageConverter(Charset) - Constructor for class com.google.cloud.spring.pubsub.support.converter.SimplePubSubMessageConverter
-
- subscribe(String, Consumer<BasicAcknowledgeablePubsubMessage>) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- subscribe(String, Consumer<BasicAcknowledgeablePubsubMessage>) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Add a callback method to an existing subscription.
- subscribe(String, Consumer<BasicAcknowledgeablePubsubMessage>) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- subscribeAndConvert(String, Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>>, Class<T>) - Method in class com.google.cloud.spring.pubsub.core.PubSubTemplate
-
- subscribeAndConvert(String, Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>>, Class<T>) - Method in interface com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberOperations
-
Add a callback method to an existing subscription that receives Pub/Sub messages converted to
the requested payload type.
- subscribeAndConvert(String, Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>>, Class<T>) - Method in class com.google.cloud.spring.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- Subscriber() - Constructor for class com.google.cloud.spring.pubsub.core.PubSubConfiguration.Subscriber
-
- SubscriberFactory - Interface in com.google.cloud.spring.pubsub.support
-
Interface used by the
PubSubTemplate to create
supporting objects for consuming messages from Pub/Sub subscriptions.
- subscription() - Method in interface com.google.cloud.spring.pubsub.core.health.HealthTracker
-
Accessor for the Subscription being monitored by the tracker.
- subscription() - Method in class com.google.cloud.spring.pubsub.core.health.HealthTrackerImpl
-