Releases: typelevel/fs2-kafka
Releases · typelevel/fs2-kafka
fs2-kafka v0.19.1
fs2-kafka v0.19.0
Changes
- Add
KafkaProducer#producePassthroughfor only keeping the passthrough after producing. (#74) - Change
KafkaConsumer#streamto be an alias forpartitionedStream.parJoinUnbounded. (#78)- This also removes
ConsumerSettings#fetchTimeoutas it is now unused.
- This also removes
- Change to improve type inference of
ProducerMessage. (#74, #76)- To support better type inference, a custom
fs2.kafka.ProducerRecordhas been added. - If you were using the Java
ProducerRecord, change tofs2.kafka.ProducerRecord.
- To support better type inference, a custom
- Change to replace
Sinks withPipes, and usage ofStream#towithStream#through. (#73) - Remove
ProducerMessage#single,multiple, andpassthrough. (#74)- They have been replaced with
ProducerMessage#applyandProducerMessage#one. - If you were previously using
singlein isolation, then you can now useone. - For all other cases, you can now use
ProducerMessage#applyinstead.
- They have been replaced with
- Rename
KafkaProducer#produceBatchedtoproduce. (#74) - Remove the previous
KafkaProducer#produce.- For previous behavior,
flattenthe result fromproduce. (#74)
- For previous behavior,
Miscellaneous
- Change to include current year in license notices. (#72)
Released on 2019-01-18.
fs2-kafka v0.18.1
fs2-kafka v0.18.0
Additions
- Add support for default
ExecutionContextforKafkaConsumers. (#60)
If you've been using theconsumerExecutionContextResourcecontext,
orconsumerExecutionContextStream, then not providing a context
when creatingConsumerSettingsnow yield the same result. - Add
KafkaConsumer#subscribeTofor subscribing to topics with varargs. (#62) - Add
KafkaConsumer#seekfor setting starting offsets. Thanks @danielkarch. (#64)
Changes
- Change
KafkaConsumer#subscribeto work for anyReducible. (#62) - Change
KafkaConsumer#subscribeto returnF[Unit]instead ofStream[F, Unit]. (#62) - Change
KafkaConsumerrequests to be attempted and errors returned directly. (#66) - Change to use internal singleton for
KafkaConsumerpoll requests. (#69)
Fixes
- Fix
toStringfor custom exceptions. (#61) - Fix to always create new instances of
NotSubscribedException. (#65) - Fix
KafkaConsumerrequests to check consumer has not shutdown. (#66) - Fix
Show[ProducerRecord[K, V]]when partition isnull. (#68)
Documentation
- Change to simplify the 'quick example' in the documentation. (#63)
Miscellaneous
- Change
OVO Energy LtdtoOVO Energy Limitedin license texts. (#67)
Released on 2018-12-16.
fs2-kafka v0.17.3
fs2-kafka v0.17.2
fs2-kafka v0.17.1
fs2-kafka v0.17.0
Additions
- Add support for subscribing to topics with
Regexpatterns. (#29) - Add support for committing record metadata along with offsets. (#28)
- Add
CommittableOffsetBatch#updated(CommittableOffsetBatch). (#27) - Add
ProducerSettings#withLingerandwithRequestTimeout. (#35) - Add support for overriding
ConsumerandProducercreation. (#17) - Add support for setting number of
ExecutionContextthreads. (#45)
Changes
- Change to make
KafkaConsumerandKafkaProducersealed. (#33) - Change to move
KafkaConsumerActorto internal package. (#32) - Change to improve performance of offset batching. (#20)
- Change to improve performance of
KafkaConsumerActor. (#18, #21, #22) - Change behaviour of
KafkaConsumer#partitionedStreamtoparallelPartitionedStream. (#19)
TheparallelPartitionedStreamfunction onKafkaConsumerhas therefore been removed. (#30) - Change to alternative encoding of
ProducerMessageandProducerResult. (#38, #26) - Change to use
AnyValforResourceandStreambuilders. (#31) - Change internal
privatedefinitions toprivate[this]. (#37)
Fixes
- Fix to propagate
KafkaConsumerActorerrors toStreams. (#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.