Skip to content
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
4 changes: 2 additions & 2 deletions lib/kafka/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_leader(topic, partition)

# Finds the broker acting as the coordinator of the given group.
#
# @param group_id: [String]
# @param group_id [String]
# @return [Broker] the broker that's currently coordinator.
def get_group_coordinator(group_id:)
@logger.debug "Getting group coordinator for `#{group_id}`"
Expand All @@ -127,7 +127,7 @@ def get_group_coordinator(group_id:)

# Finds the broker acting as the coordinator of the given transaction.
#
# @param transactional_id: [String]
# @param transactional_id [String]
# @return [Broker] the broker that's currently coordinator.
def get_transaction_coordinator(transactional_id:)
@logger.debug "Getting transaction coordinator for `#{transactional_id}`"
Expand Down
2 changes: 1 addition & 1 deletion lib/kafka/protocol/encoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def write_varint_string(string)
# Writes an integer under varints serializing to the IO object.
# https://developers.google.com/protocol-buffers/docs/encoding#varints
#
# @param string [Integer]
# @param int [Integer]
# @return [nil]
def write_varint(int)
int = int << 1
Expand Down