Documentation ¶
Index ¶
- type MarkerProducer
- func (_m *MarkerProducer) Close() error
- func (_m *MarkerProducer) SendEndMarker(queueID string, msg *kafka.Message) error
- func (_m *MarkerProducer) SendKeepAliveMarker(queueID string, msg *kafka.Message, redeliveryTimeout time.Duration) error
- func (_m *MarkerProducer) SendStartMarker(queueID string, msg *kafka.Message, redeliveryTimeout time.Duration) error
- type MessageSender
- type MqClient
- func (_m *MqClient) Close() error
- func (_m *MqClient) NeedsReconnect() bool
- func (_m *MqClient) NeedsReset() bool
- func (_m *MqClient) NextMessage(timeout time.Duration) (*kafka.Message, error)
- func (_m *MqClient) Processed(msg *kafka.Message) error
- func (_m *MqClient) ProcessingInProgress(msg *kafka.Message) error
- func (_m *MqClient) Reconnect() error
- func (_m *MqClient) Reset() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarkerProducer ¶
MarkerProducer is an autogenerated mock type for the MarkerProducer type
func (*MarkerProducer) Close ¶
func (_m *MarkerProducer) Close() error
Close provides a mock function with given fields:
func (*MarkerProducer) SendEndMarker ¶
func (_m *MarkerProducer) SendEndMarker(queueID string, msg *kafka.Message) error
SendEndMarker provides a mock function with given fields: queueID, msg
func (*MarkerProducer) SendKeepAliveMarker ¶
func (_m *MarkerProducer) SendKeepAliveMarker(queueID string, msg *kafka.Message, redeliveryTimeout time.Duration) error
SendKeepAliveMarker provides a mock function with given fields: queueID, msg, redeliveryTimeout
func (*MarkerProducer) SendStartMarker ¶
func (_m *MarkerProducer) SendStartMarker(queueID string, msg *kafka.Message, redeliveryTimeout time.Duration) error
SendStartMarker provides a mock function with given fields: queueID, msg, redeliveryTimeout
type MessageSender ¶
MessageSender is an autogenerated mock type for the MessageSender type
func (*MessageSender) Close ¶
func (_m *MessageSender) Close() error
Close provides a mock function with given fields:
func (*MessageSender) Flush ¶
func (_m *MessageSender) Flush(ctx context.Context)
Flush provides a mock function with given fields: ctx
func (*MessageSender) SendMessage ¶
func (_m *MessageSender) SendMessage(queueID string, payload []byte) error
SendMessage provides a mock function with given fields: queueID, payload
func (*MessageSender) SendMessageAsync ¶
func (_m *MessageSender) SendMessageAsync(queueID string, payload []byte, deliveryCh chan kafka.Event)
SendMessageAsync provides a mock function with given fields: queueID, payload, deliveryCh
type MqClient ¶
MqClient is an autogenerated mock type for the MqClient type
func (*MqClient) NeedsReconnect ¶
NeedsReconnect provides a mock function with given fields:
func (*MqClient) NeedsReset ¶
NeedsReset provides a mock function with given fields:
func (*MqClient) NextMessage ¶
NextMessage provides a mock function with given fields: timeout
func (*MqClient) ProcessingInProgress ¶
ProcessingInProgress provides a mock function with given fields: msg