Skip to content

Release v4.0.3

Compare
Choose a tag to compare
@haskellworksci haskellworksci released this 30 Jan 10:35

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