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

Fix typos #444

Merged
merged 1 commit into from
Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/kafka_ex/consumer_group/manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ defmodule KafkaEx.ConsumerGroup.Manager do
timeout: session_timeout + session_timeout_padding
)

# crash the worker if we recieve an error, but do it with a meaningful
# crash the worker if we receive an error, but do it with a meaningful
# error message
case join_response do
%{error_code: :no_error} ->
Expand Down
2 changes: 1 addition & 1 deletion lib/kafka_ex/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ defmodule KafkaEx.Server do
when reply: term, new_state: term, reason: term
@callback kafka_server_offset(
topic :: binary,
parition :: integer,
partition :: integer,
time :: :calendar.datetime() | :latest | :earliest,
state :: State.t()
) ::
Expand Down
2 changes: 1 addition & 1 deletion new_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ and some code to handle `api_version` in the opts:

```
def get_broker_config_values(client, config_names, broker_id, opts \\ []) do
api_version = Keywork.get(opts, :api_version, 0)
api_version = Keyword.get(opts, :api_version, 0)
# a setting in v1+
include_synonyms = Keyword.get(opts, :include_synonyms, false)
Expand Down