Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessagingQueueSubscription ¶
type MessagingQueueSubscription interface {
Unsubscribe() error
}
type MessagingService ¶
type MessagingService interface { QueueSubscribe(topic string, group string, handler MessageSubscriptionHandler) (MessagingQueueSubscription, error) Publish(topic string, msg interface{}) error }
func NewKafkaProtobufMessagingService ¶
func NewKafkaProtobufMessagingService(bootstrapServers, schemaRegistryUrl string) (MessagingService, error)
func NewNatsMessagingService ¶
func NewNatsMessagingService(cfg *config_api.MessagingAdapter) (MessagingService, error)
Coupled with protobuf encoder so expects protobuf serializable messages
func NewService ¶
func NewService(adapter *config_api.MessagingAdapter) (MessagingService, error)
Click to show internal directories.
Click to hide internal directories.