Releases: fd4s/fs2-kafka
Releases · fd4s/fs2-kafka
fs2-kafka v0.17.2
fs2-kafka v0.17.1
fs2-kafka v0.17.0
Additions
- Add support for subscribing to topics with
Regex
patterns. (#29) - Add support for committing record metadata along with offsets. (#28)
- Add
CommittableOffsetBatch#updated(CommittableOffsetBatch)
. (#27) - Add
ProducerSettings#withLinger
andwithRequestTimeout
. (#35) - Add support for overriding
Consumer
andProducer
creation. (#17) - Add support for setting number of
ExecutionContext
threads. (#45)
Changes
- Change to make
KafkaConsumer
andKafkaProducer
sealed. (#33) - Change to move
KafkaConsumerActor
to internal package. (#32) - Change to improve performance of offset batching. (#20)
- Change to improve performance of
KafkaConsumerActor
. (#18, #21, #22) - Change behaviour of
KafkaConsumer#partitionedStream
toparallelPartitionedStream
. (#19)
TheparallelPartitionedStream
function onKafkaConsumer
has therefore been removed. (#30) - Change to alternative encoding of
ProducerMessage
andProducerResult
. (#38, #26) - Change to use
AnyVal
forResource
andStream
builders. (#31) - Change internal
private
definitions toprivate[this]
. (#37)
Fixes
- Fix to propagate
KafkaConsumerActor
errors toStream
s. (#36)
Updates
- Update fs2 to 1.0.1. (#46)
- Update cats-effect to 1.1.0. (#44)
- Update kafka-client to 2.0.1. (#34)
- Update sbt to 1.2.7. (#43)
Documentation
Miscellaneous
- Library is now published on Maven Central instead of on Bintray. (#42)
Released on 2018-12-03.
fs2-kafka v0.16.4
fs2-kafka v0.16.3
fs2-kafka v0.16.2
Changes
- Add support for offset commit recovery. By default, only
RetriableCommitFailedException
are retried with a jittered exponential backoff for 10 attempts, switching to fixed rate retries for up to 5 attempts (seeCommitRecovery#Default
for more details). If you want to keep the previous behaviour (no retries), use the following onConsumerSettings
. (#9)
consumerSettings
.withCommitRecovery(CommitRecovery.None)
- Fix
KafkaConsumer#fiber
instance to work as expected. Most notably,join
andcancel
should work as expected, withjoin
no longer possibly becoming non-terminating after callingcancel
. This also means that streams should be interrupted as expected. SeeKafkaConsumer#fiber
for more details. (#11)
Miscellaneous
- Change to run
doc
instead ofpackageDoc
invalidate
. (#10)
Released on 2018-11-05.
fs2-kafka v0.16.1
Changes
- Add
CommittableOffsetBatch#fromFoldable
. (#3) - Add sinks for comitting messages: (#4)
- when only consuming messages:
commitBatch
,commitBatchChunk
, andcommitBatchWithin
, and - when also producing messages:
commitBatchF
,commitBatchChunkF
,commitBatchWithinF
.
- when only consuming messages:
- Fix to avoid
ConcurrentModificationException
when using aExecutionContext
with more than one thread inConsumerSettings
. If you're usingconsumerExecutionContextStream
, you're not affected, as it uses a single thread. (#5, #6) - Fix
Show
andtoString
for emptyProducerMessage
andProducerResult
. (#1)
Updates
- Update cats-effect to 1.1.0-M1. (#6)
Miscellaneous
- Add more test cases for producing messages. (#7)
- Change to ensure readme example is compiled. (#2)
- Change to run
packageDoc
as part ofvalidate
. (#8)
Released on 2018-11-02.
fs2-kafka v0.16.0
Initial public release.
Released on 2018-10-31.