Package io.micronaut.gcp.pubsub.bind
Contains binders @see
TypeArgumentBinder
and consumer classes for PubSub support.- Since:
- 2.0.0
- Author:
- Vinicius Carvalho
-
Interface Summary Interface Description PubSubAnnotatedArgumentBinder<A extends java.lang.annotation.Annotation> An interface for PubSub argument binding based on an annotation.PubSubArgumentBinder<T> An interface for PubSub argument binding.PubSubTypeArgumentBinder<T> An interface for PubSub argument binding based on argument type.SubscriberFactory Factory to createSubscriberInterface
using default configurations. -
Class Summary Class Description DefaultPubSubAcknowledgement Defaul implementation ofAcknowledgement
contract.DefaultSubscriberFactory Default implementation ofSubscriberFactory
.PubSubAcknowledgementBinder BindsAcknowledgement
arguments.PubSubAttributesConvertibleValues Convert PubSub attributes to the requested type.PubSubBinderRegistry PubSubBodyBinder Binds arguments annotated withBody
and uses the appropriatePubSubMessageSerDes
to deserialize the contents of the PubSubMessage data.PubSubConsumerState Stores the context of a PubSubMessage that is received.PubSubDefaultArgumentBinder Default body binder of PubSub consumers.PubSubHeaderBinder Binds an argument annotated withHeader
annotation.PubSubMessageHeaderBinder Support the newMessageHeader
annotation.PubSubMessageIdBinder Binds a PubSubMessage Id to the argument.SubscriberFactoryConfig Holds necessary configuration to createSubscriber
viaSubscriberFactory
.