Documentation ¶
Overview ¶
Package connector provides the connector of the broker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RealTimeConnector ¶
type RealTimeConnector interface { // Produce produce a Message to the queue in real time Produce(ctx context.Context, msg *types.Message) error // NewConsumer new a consumer to consume Messages from the realtime queue in background NewConsumer(topic, group string, batchSize int, fn type2.HandleMessage) error // Close the queue Close() error }
RealTimeConnector is a connector which can send messages to the realtime queue the realtime queue can store or consume messages in realtime
Directories ¶
Path | Synopsis |
---|---|
Package kafka_connector provides a connector to Kafka
|
Package kafka_connector provides a connector to Kafka |
Package redis_connector implements a connector with redis
|
Package redis_connector implements a connector with redis |
Click to show internal directories.
Click to hide internal directories.