-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
ReaderConfig
's default values and a few other fixes (#189)
* Don't assume anything * Validate parameters and normalize default values * Add start offsets enum to the types info * Update JS API docs * Remove opinionated default value for MaxWait * Use kafka-go's internal constants * Add OffsetOutOfRangeError for extreme cases - won't be documented, because it is deprecated * Remove commented code * Add example script for consuming from a consumer group * Run prettier to fix formatting * Mention test_consumer_group.js in the README * Add emitted metrics to README * Fix error message
- Loading branch information
Showing
33 changed files
with
410 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Enumeration: START_OFFSETS | ||
|
||
## Table of contents | ||
|
||
### Enumeration Members | ||
|
||
- [START_OFFSETS_FIRST_OFFSET](START_OFFSETS.md#start_offsets_first_offset) | ||
- [START_OFFSETS_LAST_OFFSET](START_OFFSETS.md#start_offsets_last_offset) | ||
|
||
## Enumeration Members | ||
|
||
### START_OFFSETS_FIRST_OFFSET | ||
|
||
• **START_OFFSETS_FIRST_OFFSET** | ||
|
||
#### Defined in | ||
|
||
[index.d.ts:54](https://github.com/mostafa/xk6-kafka/blob/main/api-docs/index.d.ts#L54) | ||
|
||
--- | ||
|
||
### START_OFFSETS_LAST_OFFSET | ||
|
||
• **START_OFFSETS_LAST_OFFSET** | ||
|
||
#### Defined in | ||
|
||
[index.d.ts:53](https://github.com/mostafa/xk6-kafka/blob/main/api-docs/index.d.ts#L53) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.