# Packages
No description provided by the author
# Functions
DefaultRepackFunc is used to repack messages after hash by primary key.
DeleteRepackFunc is used to repack messages after hash by primary key.
ExtractCtx extracts trace span from msg.properties.
No description provided by the author
No description provided by the author
No description provided by the author
GetTsMsgFromConsumerMsg get TsMsg from consumer message.
InjectCtx is a method inject span to pulsr message.
InsertRepackFunc is used to repack messages after hash by primary key.
KafkaHealthCheck Perform a health check by retrieving cluster metadata.
No description provided by the author
MsgSpanFromCtx extracts the span from context.
No description provided by the author
NewMockFactory creates a new instance of MockFactory.
No description provided by the author
NewMockMsgStream creates a new instance of MockMsgStream.
NewMqMsgStream is used to generate a new mqMsgStream object.
NewMqTtMsgStream is used to generate a new MqTtMsgStream object.
NewNatsmqFactory create a new nats-mq factory.
No description provided by the author
NewRocksmqFactory creates a new message stream factory based on rocksmq.
No description provided by the author
PulsarHealthCheck Perform a health check by retrieving cluster metadata.
unsubscribeChannels create consumer first, and unsubscribe channel through msgStream.close() TODO use streamnative pulsarctl.
# Structs
No description provided by the author
AlterIndexMsg is a message pack that contains create index request.
BaseMsg is a basic structure that contains begin timestamp, end timestamp and the position of msgstream.
CommonFactory is a Factory for creating message streams with common logic.
CreateCollectionMsg is a message pack that contains create collection request.
No description provided by the author
CreateIndexMsg is a message pack that contains create index request.
CreatePartitionMsg is a message pack that contains create partition request.
No description provided by the author
No description provided by the author
DataNodeTtMsg is a message pack that contains datanode time tick.
DeleteMsg is a message pack that contains delete request.
No description provided by the author
DropCollectionMsg is a message pack that contains drop collection request.
No description provided by the author
DropIndexMsg is a message pack that contains drop index request.
DropPartitionMsg is a message pack that contains drop partition request.
No description provided by the author
No description provided by the author
InsertMsg is a message pack that contains insert request.
No description provided by the author
LoadCollectionMsg is a message pack that contains load collection request.
No description provided by the author
MockFactory is an autogenerated mock type for the Factory type.
No description provided by the author
MockFactory_NewMsgStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewMsgStream'.
MockFactory_NewMsgStreamDisposer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewMsgStreamDisposer'.
MockFactory_NewTtMsgStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewTtMsgStream'.
No description provided by the author
MockMsgStream is an autogenerated mock type for the MsgStream type.
MockMsgStream_AsConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsConsumer'.
MockMsgStream_AsProducer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsProducer'.
MockMsgStream_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'.
MockMsgStream_Chan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Chan'.
MockMsgStream_CheckTopicValid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTopicValid'.
MockMsgStream_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'.
No description provided by the author
MockMsgStream_ForceEnableProduce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceEnableProduce'.
MockMsgStream_GetLatestMsgID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestMsgID'.
MockMsgStream_GetProduceChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProduceChannels'.
MockMsgStream_Produce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Produce'.
MockMsgStream_Seek_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Seek'.
MockMsgStream_SetRepackFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetRepackFunc'.
MqTtMsgStream is a msgstream that contains timeticks.
MsgPack represents a batch of msg in msgstream.
No description provided by the author
No description provided by the author
PmsFactory is a pulsar msgstream factory that implemented Factory interface(msgstream.go).
ProtoUDFactory is a factory to generate ProtoUnmarshalDispatcher object.
ProtoUnmarshalDispatcher is Unmarshal Dispatcher which used for data of proto type.
ReleaseCollectionMsg is a message pack that contains release collection request.
No description provided by the author
No description provided by the author
No description provided by the author
TimeTickMsg is a message pack that contains time tick only.
No description provided by the author
///////////////////////////////////////Upsert//////////////////////////////////////////.
No description provided by the author
# Interfaces
No description provided by the author
MarshalType is an empty interface.
MsgStream is an interface that can be used to produce and consume message on message queue.
TsMsg provides methods to get begin timestamp and end timestamp of a message pack.
UnmarshalDispatcher is an interface contains method Unmarshal.
UnmarshalDispatcherFactory is a factory to generate an object which implement interface UnmarshalDispatcher.
# Type aliases
No description provided by the author
IntPrimaryKey is an alias for short.
MessageID is an alias for short.
MsgPosition is an alias for short.
MsgType is an alias of commonpb.MsgType.
RepackFunc is a function type which used to repack message after hash by primary key.
Timestamp is an alias for short.
UniqueID is an alias for short.
UnmarshalFunc is an interface that has been implemented by each Msg.