Releases: hstreamdb/hstreamdb-java
Releases · hstreamdb/hstreamdb-java
V0.17.0
v0.16.0
This release adds support for HStreamDB v0.16.
New Features
- Add a
BatchReceiverAPI inConsumer - Add a
BatchReceiverAPI inStreamShardReader - Add a
getTailRecordIdAPI inHStreamClient - Add
maxReadBatches,untiloptions inStreamShardReaderBuilder
Breaking Changes
- Change
shardOffsettofrominStreamShardReaderBuilder
Bug Fixes
- Add lookup for
QueryandViewAPIs
v0.15.0
This release adds support for HStreamDB v0.15
Note: Reader and Queryer are deprecated now, and will be removed in the next release.
New Features
- Add a new
StreamShardReader - Add support for reading a shard from a timestamp
- Add new APIs for Query, View, Connector
- Add timestamp to
ReceivedRecord
Enhancements
ConsumernotifyFailed when lookup error- Upgrade versions of deps
Bug fixes
- Fix
streamingFetchtimeout inConsumer - Fix
getSubscriptiondoes not do lookup - Fix the unit of
timeoutingetCoroutineStubWithTimeout
v0.13.0
This release adds support for HStreamDB v0.13
New Features
- Add support for setting request timeout in
Client,Producer,Reader
Enhancements
- Add check for certificate files when enabling TLS
- Disable retry of
ManagedChannel - Upgrade grpc-java to 1.50.2
Bug fixes
- Fix
maxUnackedRecordsis incorrect in the return value oflistSubscriptions
v0.12.0
This release adds support for HStreamDB v0.12
New Features
- Add
publishTimetoReceviedRecord - Add a new
listConsumersmethod toHStreamClient - Add a new
getSubscriptionmethod toHStreamClient
Enhancements
- Set a default timeout for gRPC request
- Improve the schema of connection URLs, including
hstream://(plaintext connections) andhstreams://(TLS connections)
v0.11.0
v0.10.0
This release adds support for HStreamDB v0.10
New Features
- Add support for e2e compression: zstd, gzip
- Add
StreamBuilder
Enhancements
- Use
directExecutoras default executor forgrpcChannel
Bug fixes
- Fix
BufferedProducermemory is not released in time - Fix missing
RecordIdinReader's results - Fix dependency conflicts when using hstreamdb-java via maven
v0.9.0
This release adds support for HStreamDB v0.9
New Features
- Add a new
createStreamoverloaded method with an extrashardCountparameter inHStreamClient - Add a new
listShardsmethod inHStreamClient - Add a new
Readerinterface and corresponding implementions for accessing data from a stream shard directly - Adapt
ProducerandBufferedProducerto the new protocol of HStreamDB v0.9
Breaking Changes
- Replace
orderingKeyofRecordwithpartitionKey
v0.8.0
New Features
- Add TLS support
- Add
FlowControlSettingsetting forBufferedProducer - Add
maxUnackedRecordssetting for subscription - Add
backlogDurantionsetting for stream - Add force delete support for subscription
- Add force delete support for stream
Enhancements
- [Breaking change] Improve
RecordIdas opaqueString - Improve the performance of
BufferedProducer - Improve
Responderwith batched acknowledges for better performance - Improve
BufferedProducerBuilderto useBatchSettingwith unifiedrecordCountLimit,bytesCountLimit,ageLimitsettings - Improve the description of API in javadoc
Bug fixes
- Fix
streamingFetchis not canceled whenConsumeris closed - Fix missing handling for grpc exceptions in
Consumer - Fix the incorrect computation of accumulated record size in
BufferedProducer
v0.7.0
New Features
- Add support for transparent sharding, a new feature of HStreamDB v0.7 .
- Add
BufferedProducer. For the sake of clarity, we split the originalProducerinto two separateBufferedProducerandProducer, whereBufferedProduceris mainly for high throughput scenarios andProduceris mainly for low latency scenarios, considering that users have different requirements for write latency and throughput in different scenarios. - Add two new flush modes for
BufferedProducer. The originalProduceronly supports flush by the number of records in batch mode, but nowBufferedProduceradds two new flush modes,size-triggeredandtime-triggered, and these three trigger conditions can work at the same time to meet the user's needs more flexibly.
Breaking Changes
- remove
SubscriptionOffset - remove
enableBatchofProducer
Others
- upgrade log4j2 to 2.17.1 for security