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 createSubscriberInterfaceusing default configurations. -
Class Summary Class Description DefaultPubSubAcknowledgement Defaul implementation ofAcknowledgementcontract.DefaultSubscriberFactory Default implementation ofSubscriberFactory.PubSubAcknowledgementBinder BindsAcknowledgementarguments.PubSubAttributesConvertibleValues Convert PubSub attributes to the requested type.PubSubBinderRegistry PubSubBodyBinder Binds arguments annotated withBodyand uses the appropriatePubSubMessageSerDesto 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 withHeaderannotation.PubSubMessageHeaderBinder Support the newMessageHeaderannotation.PubSubMessageIdBinder Binds a PubSubMessage Id to the argument.SubscriberFactoryConfig Holds necessary configuration to createSubscriberviaSubscriberFactory.