Skip to content

Commit

Permalink
Merge pull request #444 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
jbruggem authored Oct 5, 2021
2 parents 0d22257 + 5723a47 commit 0f1dab8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 0f1dab8

Please sign in to comment.