New OAP annotations, they are friendly for streaming loader. (#2670)
* New stream annotation. - Inventory annotation example: @Stream(name = ServiceInventory.INDEX_NAME, scopeId = DefaultScopeDefine.SERVICE_INVENTORY, storage = @storage(builder = ServiceInventory.Builder.class, deleteHistory = false), kind = StreamKind.Inventory) - Metrics annotation example: @Stream(name = ServiceRelationClientSideMetrics.INDEX_NAME, scopeId = DefaultScopeDefine.SERVICE_RELATION, storage = @storage(builder = ServiceRelationClientSideMetrics.Builder.class), kind = StreamKind.Metrics) - Record annotation example: @Stream(name = SegmentRecord.INDEX_NAME, scopeId = DefaultScopeDefine.SEGMENT, storage = @storage(builder = SegmentRecord.Builder.class), kind = StreamKind.Record) - TopN annotation example: @Stream(name = TopNDatabaseStatement.INDEX_NAME, scopeId = DefaultScopeDefine.DATABASE_SLOW_STATEMENT, storage = @storage(builder = TopNDatabaseStatement.Builder.class), kind = StreamKind.TopN) * no message * Stream annotation finish. * Make stream processors to be the singleton class. * Fixed the compile errors. * Modify the OAL module for this annotation refactor. * Add apache license header. * Duplicate import. * Fixed check style error.
Showing
想要评论请 注册 或 登录