Skip to content

Releases: fd4s/fs2-kafka

fs2-kafka v0.16.2

05 Nov 16:46
Compare
Choose a tag to compare

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 (see CommitRecovery#Default for more details). If you want to keep the previous behaviour (no retries), use the following on ConsumerSettings. (#9)
consumerSettings
  .withCommitRecovery(CommitRecovery.None)
  • Fix KafkaConsumer#fiber instance to work as expected. Most notably, join and cancel should work as expected, with join no longer possibly becoming non-terminating after calling cancel. This also means that streams should be interrupted as expected. See KafkaConsumer#fiber for more details. (#11)

Miscellaneous

  • Change to run doc instead of packageDoc in validate. (#10)

Released on 2018-11-05.

fs2-kafka v0.16.1

02 Nov 12:56
Compare
Choose a tag to compare

Changes

  • Add CommittableOffsetBatch#fromFoldable. (#3)
  • Add sinks for comitting messages: (#4)
    • when only consuming messages: commitBatch, commitBatchChunk, and commitBatchWithin, and
    • when also producing messages: commitBatchF, commitBatchChunkF, commitBatchWithinF.
  • Fix to avoid ConcurrentModificationException when using a ExecutionContext with more than one thread in ConsumerSettings. If you're using consumerExecutionContextStream, you're not affected, as it uses a single thread. (#5, #6)
  • Fix Show and toString for empty ProducerMessage and ProducerResult. (#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 of validate. (#8)

Released on 2018-11-02.

fs2-kafka v0.16.0

31 Oct 13:52
Compare
Choose a tag to compare

Initial public release.

Released on 2018-10-31.