Skip to content

Releases: haskell-works/hw-kafka-client

Release v5.0.0

06 Jan 04:22
Compare
Choose a tag to compare
Release v5.0.0

Release v4.0.4

06 Jan 03:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.3...v4.0.4

Release v4.0.3

30 Jan 10:35
Compare
Choose a tag to compare

Changes

  • Fix shutdown crash when log/error callback is set The rd_kafka_destroy method may call back into Haskell to perform some logging. This is not allowed when attaching the finalizer using Foreign.ForeignPtr. Hence we switch to Foreign.Concurrent, which allows RdKafka to call back into Haskell. We also disable closing the consumer automatically in the finalizer, this should be done by the application by calling closeConsumer explicitly. by @phile314
  • Update librdkafka version to 0.11.6 by @phile314
  • Merge pull request #169 from phile314/finalizer Fix shutdown crash when log/error callback is set by @AlexeyRaga
  • Clean up imports by @AlexeyRaga
  • Release v4.0.3 by @AlexeyRaga

Release v4.0.2

22 Jan 01:17
Compare
Choose a tag to compare

Changes

Release v4.0.1

05 Jan 00:45
Compare
Choose a tag to compare

Changes

  • Add IsString instance by @newhoggy
  • Merge pull request #163 from haskell-works/is-string-instance Add IsString instance by @AlexeyRaga
  • Fix stats/socket callback types by @phile314
  • Merge pull request #166 from phile314/cb_ints Fix stats/socket callback types by @AlexeyRaga
  • Allow rdkafka free stats callback payload by @AlexeyRaga

Release v4.0.0

03 Dec 11:10
Compare
Choose a tag to compare

Changes

  • Upgrade to [email protected] by @newhoggy
  • Merge pull request #152 from haskell-works/[email protected] Upgrade to [email protected] by @newhoggy
  • Support ghc-8.10.2 by @newhoggy
  • Test with ghc-8.10.2 by @newhoggy
  • Merge pull request #154 from haskell-works/tested-with-ghc-8.10.2 Tested with ghc 8.10.2 by @newhoggy
  • Add statistics interval property by @phile314
  • Use ByteString instead of String for stats callback This avoids the round-trip via String if one wants to pass the statistics JSON to aeson for further parsing. by @phile314
  • Merge pull request #160 from phile314/stats_prop Add statistics interval property by @AlexeyRaga
  • Merge pull request #159 from phile314/stats_bs Use ByteString instead of String for stats callback by @AlexeyRaga
  • Wrap callbacks in newtype to make wrong usage harder by @phile314
  • Merge pull request #161 from phile314/wrapper Wrap callbacks in newtype to make wrong usage harder by @AlexeyRaga
  • Release v4.0.0 by @AlexeyRaga

Release v3.1.2

27 Jul 23:30
Compare
Choose a tag to compare

Changes

Release v3.1.1

21 May 13:25
Compare
Choose a tag to compare

Changes

  • Disable parallel garbage colllector in CCI tests by @newhoggy
  • Disable parallel garbage collector from project.sh test by @newhoggy
  • Merge pull request #134 from haskell-works/disable-parallel-garbage-collector-in-cci-tests Disable parallel garbage colllector in CCI tests by @newhoggy
  • feat(callback): Change log callback log level to KafkaLogLevel * Int becomes KafkaLogLevel (breaking changes) * Add documentation for callbacks Closes #135 by @sir4ur0n
  • Merge pull request #138 from Sir4ur0n/feat/logCallbackKafkaLogLevel feat(callback): Change log callback log level to KafkaLogLevel by @AlexeyRaga
  • doc(kafka): Add documentation * Document common types * Document Consumer types and functions * Add module documentation (full example from readme) * Fix links to replacements for deprecated functions by @sir4ur0n
  • Dev env and how to run tests by @null
  • Get off stack by @null
  • Merge pull request #140 from Sir4ur0n/doc/KafkaConsumer doc(kafka): Add documentation by @AlexeyRaga
  • Fix hlint by @newhoggy
  • Merge pull request #141 from haskell-works/fix-hlint Fix hlint by @newhoggy
  • Fix memory leak from not freeing per-message callback pointer by @felixmulder
  • Use Foreign.Concurrent.newForeignPtr where applicable This is done in order to get rid of following problem: error: a C finalizer called back into Haskell. This was previously allowed, but is disallowed in GHC 6.10.2 and later. To create finalizers that may call back into Haskell, use Foreign.Concurrent.newForeignPtr instead of Foreign.newForeignPtr. Co-authored-by: Paweł Szulc [email protected] by @lukasz-golebiewski
  • Merge pull request #146 from lukasz-golebiewski/use-foreign-concurrent Use Foreign.Concurrent.newForeignPtr where applicable by @AlexeyRaga
  • Merge pull request #145 from felixmulder/free-ptr-after-use Fix #143: memory leak from not freeing per-message callback pointer by @AlexeyRaga
  • Release v3.1.1 by @AlexeyRaga

Release v3.1.0

14 Apr 05:05
Compare
Choose a tag to compare

Changes

Release v3.0.0

21 Oct 03:21
Compare
Choose a tag to compare

Changes

  • Add a consumer option to rely on users for polling. by @shlevy
  • Merge pull request #108 from shlevy/user-polling Add a consumer option to rely on users for polling. by @AlexeyRaga
  • CallbackMode by @AlexeyRaga
  • Merge pull request #110 from haskell-works/async-polls Introduce CallbackMode by @AlexeyRaga
  • Move auto-commit from subscription to consumer Fixes a librdkafka deprecation warning: Configuration property auto.commit.enable is deprecated: [LEGACY PROPERTY: This property is used by the simple legacy consumer only. When using the high-level KafkaConsumer, the global enable.auto.commit property must be used instead]. If true, periodically commit offset of the last message handed to the application. This committed offset will be used when the process restarts to pick up where it left off. If false, the application will have to call rd_kafka_offset_store() to store an offset (optional). NOTE: There is currently no zookeeper integration, offsets will be written to broker or local file according to offset.store.method. by @phile314
  • Merge pull request #112 from phile314/move_autocommit Move auto-commit from subscription to consumer by @AlexeyRaga
  • Use assign/pause/redirect/unpause pattern by @AlexeyRaga
  • Remove unnecessary poll for events by @AlexeyRaga
  • Merge pull request #111 from haskell-works/rebalance-pause Use assign/pause/redirect/unpause pattern by @AlexeyRaga
  • Release v3.0.0 by @AlexeyRaga