Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct { Variant string // kafka or pulsar BrokerConfig messagebroker.BrokerConfig }
Broker Config (Kafka/Pulsar)
type Config ¶
type Config struct { Broker Broker Interfaces struct { API NetworkInterfaces } }
Config for producer
type NetworkInterfaces ¶
type NetworkInterfaces struct { GrpcServerAddress string HTTPServerAddress string InternalHTTPServerAddress string }
NetworkInterfaces contains all exposed interfaces
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service for producer
func NewService ¶
func NewService(admin *credentials.Model, webConfig *Config, registryConfig *registry.Config, openapiConfig *openapiserver.Config, cacheConfig *cache.Config) (*Service, error)
NewService creates an instance of new producer service
func (*Service) GetErrorChannel ¶
GetErrorChannel returns service error channel
Source Files
¶
Click to show internal directories.
Click to hide internal directories.