This is th2 java library with useful functions for developers and QA needs.
The batcher collects single events inside and calls onBatch method when maxFlushTime has elapsed or number of
pending events has reached maxBatchSize.
Collects and groups events by their parent-event-id and calls onBatch method when maxFlushTime for a group has
elapsed or number of events in it has reached maxBatchSize.
Collects and groups messages by session group and calls onBatch method when maxFlushTime for a group has
elapsed or number of events in it has reached maxBatchSize.
Collects and groups raw messages by session group and calls onBatch method when maxFlushTime for a group has
elapsed or number of events in it has reached maxBatchSize or batch size in bytes has reached maxBatchSizeInBytes.
Note: message batch size calculation logic repeats the logic implemented in cradle-api:5.4.1-dev
- updates:
- kotlin:
2.2.0 - kotlin-logging:
7.0.12 - th2 gradle plugin:
0.3.4(bom:4.13.1) - common:
5.16.0-dev
- kotlin:
- fixed:
EventBatcherdoes not set parent ID that leads to storing each event as an individual entity in cradle
- added
RawMessageBatcherfor th2 transport protocol - updates:
- th2 gradle plugin:
0.1.1 - bom:
4.6.1 - common:
5.14.0 - kotlin-logging:
5.1.4
- th2 gradle plugin:
- fixed:
copyFieldsadds nulls if the field does not exist in the source message - updates:
- common: 5.5.0-dev -> 5.10.0-dev (compileOnly)
- grpc-common: 4.3.0-dev -> 4.4.0-dev
- fixed: batch size actually was not limited if
maxBatchSize = 1 - common:
5.5.0-dev
- The timestamp for message builder is updated under a lock now to avoid reordering under load.
- bom:
4.5.0-dev - common:
5.4.0-dev - kotlin:
1.8.22
- common:
5.3.2-dev
- Added extension methods to work with fields for
ParsedMessageclass - Added extension methods to copy fields for
ParsedMessage.FromMapBuilderclass
- grpc-common:
4.3.0-dev - common:
5.3.1-dev
- Added utility method for th2 transport protocol
- Added message batcher for transport protocol
- Added org.owasp.dependencycheck:
8.3.1 - Added com.github.jk1.dependency-license-report
2.5 - Added de.undercouch.download
5.4.0
- Migrated to book & page concept
- Migrated to bom:4.2.0
- Migrated to grpc-common:4.1.1-dev
- book&pages support