Skip to content

Bump kafka_ex from 0.15.0 to 1.0.1 - #270

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/kafka_ex-1.0.1
Closed

Bump kafka_ex from 0.15.0 to 1.0.1#270
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/kafka_ex-1.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps kafka_ex from 0.15.0 to 1.0.1.

Release notes

Sourced from kafka_ex's releases.

v1.0.1

What's Changed

New Contributors

Full Changelog: kafkaex/kafka_ex@v1.0.0...v1.0.1

v1.0.0

What's Changed

... (truncated)

Changelog

Sourced from kafka_ex's changelog.

1.0.1 (2026-06-26)

Breaking Changes

  • KafkaEx.API.start_client/1 no longer registers globally by default. Previously start_client() (no :name argument) silently registered the GenServer as KafkaEx.Client, while the documented :name option was ignored. Two callers collided with :already_started.

    Now start_client() returns {:ok, pid} unnamed. To preserve the old behavior explicitly:

    KafkaEx.API.start_client(name: KafkaEx.Client)

    :name accepts any GenServer.name() shape: an atom, {:global, term}, or {:via, Module, term}. See UPGRADING.md for the full migration. Most callers bind the returned pid ({:ok, client} = start_client(...)) and are unaffected.

  • Consumer auto_offset_reset now defaults to :latest (was :none), matching the Kafka/Java client default, and :none now raises instead of silently starting a fresh consumer group from the earliest offset. This only affects a consumer with no valid committed offset that does not set auto_offset_reset explicitly: a new consumer group now consumes only new messages (previously it silently replayed the whole topic), and an out-of-range offset now resets to latest (previously it raised). Set auto_offset_reset: :earliest to keep replaying from the beginning, or :none for the strict raise-on-bad-offset behavior. An invalid value now fails fast at consumer start. See UPGRADING.md.

Fixed

  • KafkaEx.API.start_client/1 and child_spec/1 now merge config.exs defaults and accept the documented :brokers option (#538). Previously start_client(brokers: [...]) crashed with InvalidConsumerGroupError: nil because config defaults were never merged and the :brokers key was ignored (the client read :uris). :brokers is now the canonical key; :uris is a deprecated-but-working alias. start_client/1 returns {:error, :invalid_consumer_group} on a bad group; child_spec/1 raises KafkaEx.InvalidConsumerGroupError at spec-build time.

  • KafkaEx.API.fetch/5 (and KafkaEx.Consumer.Stream) hang at logend. Previously the GenServer.call default timeout (5s) and the per-broker Socket.recv timeout (1-3s from sync_timeout config) were not aligned with the user-supplied :max_wait_time (default 10s). The broker held the long-poll for up to 10s; both upper timeouts fired first, causing socket close → reconnect → retry 3 times, every retry hitting the same mismatch.

... (truncated)

Commits
  • 1bb04ae chore: add AGENTS.md as canonical agent guide; CLAUDE.md symlinks to it (#558)
  • 3228264 fix: terminal-stop on group-authorization failure; drop stale heartbeat-error...
  • a4e3864 fix: drop control batches and advance past them (consumer + stream) (#557)
  • e33abf0 fix: bound broker connect with a timeout instead of blocking indefinitely (#556)
  • c6ba2a7 fix: rejoin (not crash) on illegal_generation/unknown_member_id; terminal-sto...
  • 3651f1f test: eliminate the on_exit teardown :noproc flake class (#553)
  • 4e13020 refactor: rename Retry max_retries option to max_attempts (#552)
  • 4baf532 refactor: ride load_offsets startup retry on Retry.with_retry (#551)
  • cde3b0a fix: offset-commit/fetch correctness (no silent loss / duplicates) (#548)
  • 2d8d9af test: stabilize three flaky consumer-group / config tests (#549)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [kafka_ex](https://github.com/kafkaex/kafka_ex) from 0.15.0 to 1.0.1.
- [Release notes](https://github.com/kafkaex/kafka_ex/releases)
- [Changelog](https://github.com/kafkaex/kafka_ex/blob/master/CHANGELOG.md)
- [Commits](kafkaex/kafka_ex@v0.15.0...v1.0.1)

---
updated-dependencies:
- dependency-name: kafka_ex
  dependency-version: 1.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Jun 29, 2026
@jarlah jarlah closed this in #272 Jul 23, 2026
jarlah added a commit that referenced this pull request Jul 23, 2026
* Bundle 5 dependabot dependency updates

Bumps postgrex 0.22.2 -> 0.22.3, credo 1.7.18 -> 1.7.19,
tesla 1.17.0 -> 1.20.0, mongodb_driver 1.6.2 -> 1.6.3, and
kafka_ex 0.15.0 -> 1.1.0.

kafka_ex 1.0 was a full API rewrite (legacy modules like
KafkaEx.Protocol.CreateTopics.TopicRequest and top-level functions
like KafkaEx.produce/4, KafkaEx.stream/3, KafkaEx.metadata/1 were
removed in favor of KafkaEx.API.*), which broke
test/container/kafka_container_test.exs at compile time. Migrated
the test to KafkaEx.API.create_topic/produce_one/fetch. The Kafka
container implementation itself doesn't depend on kafka_ex (it
shells out to kafka-topics.sh), so no lib/ changes were needed.

Targets kafka_ex 1.1.0 rather than the 1.0.1 the dependabot PR
proposed, since 1.1.0 (released today) fixes a stream auto-commit
data-loss bug present in 1.0.1.

Supersedes #267, #268, #269, #270, #271.

* Pin uniq to 0.6.2 to fix Elixir 1.15 CI failure

uniq 0.6.3 added lib/scoped_uuid.ex, which uses a binary pattern
construct that fails to compile on Elixir 1.15 (works fine on
1.16+). We only ever call Uniq.UUID.uuid4/0, never Uniq.ScopedUUID,
so pinning below the offending release has no functional impact.

Verified no security regression: no advisories for uniq in the OSV
or GitHub Security Advisories databases at any version, and the
only other change between 0.6.2 and 0.6.3 is a cosmetic refactor of
an internal compare/2 helper.

This was failing identically on main and on all 5 original
dependabot PRs before this change.
@dependabot @github

dependabot Bot commented on behalf of github Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/hex/kafka_ex-1.0.1 branch July 23, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants