Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from spreedly:master #8

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented May 19, 2020

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

andyleclair and others added 6 commits May 24, 2019 08:34
A compatibility introduced to later versions of Brod prevented Kaffe
from working if endpoints were specified as atoms. After reporting the
issue to the Brod maintainers, they indicated that Brod wants charlists
(Erlang strings) for these values.

This commit converts binaries and atoms to charlists, so both should
work with older and newer versions of Brod.

Therefore, the Brod dependency is now specified as `~> 3.0`.

Also fixed some small README issues.

Fixes #75
@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels May 19, 2020
fatcatt316 and others added 22 commits August 14, 2020 10:51
ERO-298
* Now requires Elixir ~> 1.7

All tests pass:
mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded

ERO-298
This commit addresses issue #93 which allows the Group Manager
to retry connecting group members to topics when Kafka is down.

The amount of retries and the retry interval are configurable with
Kaffe.Config.Consumer. Default is 3 retries every 10 seconds.

When retry options are pruned completely, Group Manager will no longer
be able to recover. This behaviour is expected, because it is most likely
that if reconnections are not possible in a set amount of time, intervention
is required. Retrying indefinitely does not make sense.
All tests pass.

mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
warning: :crypto.rand_uniform/2 is deprecated. Use rand:uniform/1 instead
  lib/kaffe/partition_selector.ex:28: Kaffe.PartitionSelector.random/1

https://www.erlang.org/doc/man/crypto.html#rand_uniform-2

https://www.erlang.org/doc/man/rand.html#uniform-1
* Misc doc changes

Besides other documentation changes, this commit ensures the generated
HTML doc for HexDocs.pm will become the source of truth for this Elixir
library and leverage on latest features of ExDoc.

Co-authored-by: britth <[email protected]>
mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
Upgrades Elixir dependency to 1.12

mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
In case the kafka cluster is temporarily unavailable,
when subscribe_to_topics retries are exhausted,
it simply exits the function without crashing,
and when kafka cluster is back, it won't subscribe to topics,
and the consumer gets stuck.

With this change, it will crash after retries are exhausted
and topic subscription didn't complete successfully
mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
hdeters and others added 3 commits February 23, 2024 12:22
Upgrades the Elixir version to 1.14

mix test
4 doctests, 47 tests, 0 failures, 1 excluded

mix test --only e2e
4 doctests, 47 tests, 0 failures, 50 excluded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants