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
BatchReceiver
API inConsumer
- Add a
BatchReceiver
API inStreamShardReader
- Add a
getTailRecordId
API inHStreamClient
- Add
maxReadBatches
,until
options inStreamShardReaderBuilder
Breaking Changes
- Change
shardOffset
tofrom
inStreamShardReaderBuilder
Bug Fixes
- Add lookup for
Query
andView
APIs
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
Consumer
notifyFailed when lookup error- Upgrade versions of deps
Bug fixes
- Fix
streamingFetch
timeout inConsumer
- Fix
getSubscription
does not do lookup - Fix the unit of
timeout
ingetCoroutineStubWithTimeout
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
maxUnackedRecords
is incorrect in the return value oflistSubscriptions
v0.12.0
This release adds support for HStreamDB v0.12
New Features
- Add
publishTime
toReceviedRecord
- Add a new
listConsumers
method toHStreamClient
- Add a new
getSubscription
method 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
directExecutor
as default executor forgrpcChannel
Bug fixes
- Fix
BufferedProducer
memory is not released in time - Fix missing
RecordId
inReader
'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
createStream
overloaded method with an extrashardCount
parameter inHStreamClient
- Add a new
listShards
method inHStreamClient
- Add a new
Reader
interface and corresponding implementions for accessing data from a stream shard directly - Adapt
Producer
andBufferedProducer
to the new protocol of HStreamDB v0.9
Breaking Changes
- Replace
orderingKey
ofRecord
withpartitionKey
v0.8.0
New Features
- Add TLS support
- Add
FlowControlSetting
setting forBufferedProducer
- Add
maxUnackedRecords
setting for subscription - Add
backlogDurantion
setting for stream - Add force delete support for subscription
- Add force delete support for stream
Enhancements
- [Breaking change] Improve
RecordId
as opaqueString
- Improve the performance of
BufferedProducer
- Improve
Responder
with batched acknowledges for better performance - Improve
BufferedProducerBuilder
to useBatchSetting
with unifiedrecordCountLimit
,bytesCountLimit
,ageLimit
settings - Improve the description of API in javadoc
Bug fixes
- Fix
streamingFetch
is not canceled whenConsumer
is 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 originalProducer
into two separateBufferedProducer
andProducer
, whereBufferedProducer
is mainly for high throughput scenarios andProducer
is 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 originalProducer
only supports flush by the number of records in batch mode, but nowBufferedProducer
adds two new flush modes,size-triggered
andtime-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
enableBatch
ofProducer
Others
- upgrade log4j2 to 2.17.1 for security