Documentation
¶
Overview ¶
Package data contains data transmission topics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // TopicMap is the map of topic name to topic. TopicMap = map[string]bus.Topic{ TopicStreamWrite.String(): TopicStreamWrite, TopicStreamQuery.String(): TopicStreamQuery, TopicMeasureWrite.String(): TopicMeasureWrite, TopicMeasureQuery.String(): TopicMeasureQuery, TopicTopNQuery.String(): TopicTopNQuery, TopicPropertyDelete.String(): TopicPropertyDelete, TopicPropertyQuery.String(): TopicPropertyQuery, TopicPropertyUpdate.String(): TopicPropertyUpdate, TopicStreamPartSync.String(): TopicStreamPartSync, TopicMeasurePartSync.String(): TopicMeasurePartSync, TopicMeasureSeriesIndexInsert.String(): TopicMeasureSeriesIndexInsert, TopicMeasureSeriesIndexUpdate.String(): TopicMeasureSeriesIndexUpdate, TopicMeasureSeriesSync.String(): TopicMeasureSeriesSync, TopicPropertyRepair.String(): TopicPropertyRepair, TopicStreamSeriesIndexWrite.String(): TopicStreamSeriesIndexWrite, TopicStreamLocalIndexWrite.String(): TopicStreamLocalIndexWrite, TopicStreamSeriesSync.String(): TopicStreamSeriesSync, TopicStreamElementIndexSync.String(): TopicStreamElementIndexSync, TopicTraceWrite.String(): TopicTraceWrite, TopicTraceQuery.String(): TopicTraceQuery, TopicTracePartSync.String(): TopicTracePartSync, TopicTraceSidxSeriesWrite.String(): TopicTraceSidxSeriesWrite, } // TopicRequestMap is the map of topic name to request message. // nolint: exhaustruct TopicRequestMap = map[bus.Topic]func() proto.Message{ TopicStreamWrite: func() proto.Message { return &streamv1.InternalWriteRequest{} }, TopicStreamQuery: func() proto.Message { return &streamv1.QueryRequest{} }, TopicMeasureWrite: func() proto.Message { return &measurev1.InternalWriteRequest{} }, TopicMeasureQuery: func() proto.Message { return &measurev1.QueryRequest{} }, TopicTopNQuery: func() proto.Message { return &measurev1.TopNRequest{} }, TopicPropertyUpdate: func() proto.Message { return &propertyv1.InternalUpdateRequest{} }, TopicPropertyQuery: func() proto.Message { return &propertyv1.QueryRequest{} }, TopicPropertyDelete: func() proto.Message { return &propertyv1.InternalDeleteRequest{} }, TopicStreamPartSync: func() proto.Message { return nil }, TopicMeasurePartSync: func() proto.Message { return nil }, TopicMeasureSeriesIndexInsert: func() proto.Message { return nil }, TopicMeasureSeriesIndexUpdate: func() proto.Message { return nil }, TopicMeasureSeriesSync: func() proto.Message { return nil }, TopicPropertyRepair: func() proto.Message { return &propertyv1.InternalRepairRequest{} }, TopicStreamSeriesIndexWrite: func() proto.Message { return nil }, TopicStreamLocalIndexWrite: func() proto.Message { return nil }, TopicStreamSeriesSync: func() proto.Message { return nil }, TopicStreamElementIndexSync: func() proto.Message { return nil }, TopicTraceWrite: func() proto.Message { return &tracev1.InternalWriteRequest{} }, TopicTraceQuery: func() proto.Message { return &tracev1.QueryRequest{} }, TopicTracePartSync: func() proto.Message { return nil }, TopicTraceSidxSeriesWrite: func() proto.Message { return nil }, } // TopicResponseMap is the map of topic name to response message. // nolint: exhaustruct TopicResponseMap = map[bus.Topic]func() proto.Message{ TopicStreamQuery: func() proto.Message { return &streamv1.QueryResponse{} }, TopicMeasureQuery: func() proto.Message { return &measurev1.QueryResponse{} }, TopicTopNQuery: func() proto.Message { return &measurev1.TopNResponse{} }, TopicPropertyQuery: func() proto.Message { return &propertyv1.InternalQueryResponse{} }, TopicPropertyDelete: func() proto.Message { return &propertyv1.DeleteResponse{} }, TopicPropertyUpdate: func() proto.Message { return &propertyv1.ApplyResponse{} }, TopicPropertyRepair: func() proto.Message { return &propertyv1.InternalRepairResponse{} }, TopicTraceQuery: func() proto.Message { return &tracev1.InternalQueryResponse{} }, } // TopicCommon is the common topic for data transmission. TopicCommon = bus.Topic{} )
var MeasureDeleteExpiredSegmentsKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-delete-expired-segments",
}
MeasureDeleteExpiredSegmentsKindVersion is the version tag of measure delete kind.
var MeasurePartSyncKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-part-sync",
}
MeasurePartSyncKindVersion is the version tag of measure part sync kind.
var MeasureQueryKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-query",
}
MeasureQueryKindVersion is the version tag of measure query kind.
var MeasureSeriesIndexInsertKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-series-index-insert",
}
MeasureSeriesIndexInsertKindVersion is the version tag of measure series index insert kind.
var MeasureSeriesIndexUpdateKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-series-index-update",
}
MeasureSeriesIndexUpdateKindVersion is the version tag of measure series index update kind.
var MeasureSeriesSyncKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-series-sync",
}
MeasureSeriesSyncKindVersion is the version tag of measure series sync kind.
var MeasureWriteKindVersion = common.KindVersion{
Version: "v1",
Kind: "measure-write",
}
MeasureWriteKindVersion is the version tag of measure write kind.
var PropertyDeleteKindVersion = common.KindVersion{
Version: "v1",
Kind: "property-delete",
}
PropertyDeleteKindVersion is the version tag of property delete kind.
var PropertyQueryKindVersion = common.KindVersion{
Version: "v1",
Kind: "property-query",
}
PropertyQueryKindVersion is the version tag of property query kind.
var PropertyRepairKindVersion = common.KindVersion{
Version: "v1",
Kind: "property-repair",
}
PropertyRepairKindVersion is the version tag of property repair kind.
var PropertyUpdateKindVersion = common.KindVersion{
Version: "v1",
Kind: "property-update",
}
PropertyUpdateKindVersion is the version tag of property update kind.
var SnapshotKindVersion = common.KindVersion{
Version: "v1",
Kind: "snapshot",
}
SnapshotKindVersion is the version tag of snapshot kind.
var StreamDeleteExpiredSegmentsKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-delete-expired-segments",
}
StreamDeleteExpiredSegmentsKindVersion is the version tag of stream delete segments kind.
var StreamElementIndexSyncKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-element-index-sync",
}
StreamElementIndexSyncKindVersion is the version tag of element index sync kind.
var StreamLocalIndexWriteKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-local-index-write",
}
StreamLocalIndexWriteKindVersion is the version tag of stream local index write kind.
var StreamPartSyncKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-part-sync",
}
StreamPartSyncKindVersion is the version tag of part sync kind.
var StreamQueryKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-query",
}
StreamQueryKindVersion is the version tag of stream query kind.
var StreamSeriesIndexWriteKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-series-index-write",
}
StreamSeriesIndexWriteKindVersion is the version tag of stream series index write kind.
var StreamSeriesSyncKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-series-sync",
}
StreamSeriesSyncKindVersion is the version tag of series sync kind.
var StreamWriteKindVersion = common.KindVersion{
Version: "v1",
Kind: "stream-write",
}
StreamWriteKindVersion is the version tag of stream write kind.
var TopNQueryKindVersion = common.KindVersion{
Version: "v1",
Kind: "topN-query",
}
TopNQueryKindVersion is the version tag of top-n query kind.
var TopicDeleteExpiredStreamSegments = bus.BiTopic(StreamDeleteExpiredSegmentsKindVersion.String())
TopicDeleteExpiredStreamSegments is the delete stream segments topic.
var TopicDeleteExpiredTraceSegments = bus.BiTopic(TraceDeleteExpiredSegmentsKindVersion.String())
TopicDeleteExpiredTraceSegments is the delete trace segments topic.
var TopicMeasureDeleteExpiredSegments = bus.BiTopic(MeasureDeleteExpiredSegmentsKindVersion.String())
TopicMeasureDeleteExpiredSegments is the measure delete topic.
var TopicMeasurePartSync = bus.BiTopic(MeasurePartSyncKindVersion.String())
TopicMeasurePartSync is the measure part sync topic.
var TopicMeasureQuery = bus.BiTopic(MeasureQueryKindVersion.String())
TopicMeasureQuery is the measure query topic.
var TopicMeasureSeriesIndexInsert = bus.BiTopic(MeasureSeriesIndexInsertKindVersion.String())
TopicMeasureSeriesIndexInsert is the measure series index insert topic.
var TopicMeasureSeriesIndexUpdate = bus.BiTopic(MeasureSeriesIndexUpdateKindVersion.String())
TopicMeasureSeriesIndexUpdate is the measure series index update topic.
var TopicMeasureSeriesSync = bus.BiTopic(MeasureSeriesSyncKindVersion.String())
TopicMeasureSeriesSync is the measure series sync topic.
var TopicMeasureWrite = bus.BiTopic(MeasureWriteKindVersion.String())
TopicMeasureWrite is the measure write topic.
var TopicPropertyDelete = bus.BiTopic(PropertyDeleteKindVersion.String())
TopicPropertyDelete is the property update topic.
var TopicPropertyQuery = bus.BiTopic(PropertyQueryKindVersion.String())
TopicPropertyQuery is the property query topic.
var TopicPropertyRepair = bus.BiTopic(PropertyRepairKindVersion.String())
TopicPropertyRepair is the property repair topic.
var TopicPropertyUpdate = bus.BiTopic(PropertyUpdateKindVersion.String())
TopicPropertyUpdate is the property update topic.
var TopicSnapshot = bus.BiTopic(SnapshotKindVersion.String())
TopicSnapshot is the snapshot topic.
var TopicStreamElementIndexSync = bus.BiTopic(StreamElementIndexSyncKindVersion.String())
TopicStreamElementIndexSync is the element index sync topic.
var TopicStreamLocalIndexWrite = bus.BiTopic(StreamLocalIndexWriteKindVersion.String())
TopicStreamLocalIndexWrite is the stream local index write topic.
var TopicStreamPartSync = bus.BiTopic(StreamPartSyncKindVersion.String())
TopicStreamPartSync is the part sync topic.
var TopicStreamQuery = bus.BiTopic(StreamQueryKindVersion.String())
TopicStreamQuery is the stream query topic.
var TopicStreamSeriesIndexWrite = bus.BiTopic(StreamSeriesIndexWriteKindVersion.String())
TopicStreamSeriesIndexWrite is the stream series index write topic.
var TopicStreamSeriesSync = bus.BiTopic(StreamSeriesSyncKindVersion.String())
TopicStreamSeriesSync is the series sync topic.
var TopicStreamWrite = bus.BiTopic(StreamWriteKindVersion.String())
TopicStreamWrite is the stream write topic.
var TopicTopNQuery = bus.BiTopic(TopNQueryKindVersion.String())
TopicTopNQuery is the top-n query topic.
var TopicTracePartSync = bus.BiTopic(TracePartSyncKindVersion.String())
TopicTracePartSync is the part sync topic.
var TopicTraceQuery = bus.BiTopic(TraceQueryKindVersion.String())
TopicTraceQuery is the trace query topic.
var TopicTraceSidxSeriesWrite = bus.BiTopic(TraceSidxSeriesWriteKindVersion.String())
TopicTraceSidxSeriesWrite is the trace sidx series write topic.
var TopicTraceWrite = bus.BiTopic(TraceWriteKindVersion.String())
TopicTraceWrite is the trace write topic.
var TraceDeleteExpiredSegmentsKindVersion = common.KindVersion{
Version: "v1",
Kind: "trace-delete-expired-segments",
}
TraceDeleteExpiredSegmentsKindVersion is the version tag of trace delete segments kind.
var TracePartSyncKindVersion = common.KindVersion{
Version: "v1",
Kind: "trace-part-sync",
}
TracePartSyncKindVersion is the version tag of part sync kind.
var TraceQueryKindVersion = common.KindVersion{
Version: "v1",
Kind: "trace-query",
}
TraceQueryKindVersion is the version tag of trace query kind.
var TraceSidxSeriesWriteKindVersion = common.KindVersion{
Version: "v1",
Kind: "trace-sidx-series-write",
}
TraceSidxSeriesWriteKindVersion is the version tag of trace sidx series write kind.
var TraceWriteKindVersion = common.KindVersion{
Version: "v1",
Kind: "trace-write",
}
TraceWriteKindVersion is the version tag of trace write kind.
Functions ¶
This section is empty.
Types ¶
This section is empty.