Skip to content

docs(kafka-logger): inform bug with required_acks 0#10126

Merged
juststillthinking merged 3 commits into
apache:masterfrom
Revolyssup:revolyssup/10073
Sep 5, 2023
Merged

docs(kafka-logger): inform bug with required_acks 0#10126
juststillthinking merged 3 commits into
apache:masterfrom
Revolyssup:revolyssup/10073

Conversation

@Revolyssup

Copy link
Copy Markdown
Contributor

Description

Fixes #10073
lua-resty-kafka throws an error when required_acks value is 0 as mentioned here doujiang24/lua-resty-kafka#105 (comment)
This doc update reflects that and removes 0 from possible values.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

Signed-off-by: Ashish Tiwari <[email protected]>
@Revolyssup

Copy link
Copy Markdown
Contributor Author

@monkeyDluffy6017 The request still reaches kafka but the error occurs anyways. So should we remove 0 as supported value from docs altogether or add a note in the docs that an error will occur but not to worry.

Comment thread docs/en/latest/plugins/kafka-logger.md Outdated
@juststillthinking juststillthinking changed the title docs: inform bug with required_acks 0 in kafka-logger docs(kafka-logger): inform bug with required_acks 0 Sep 5, 2023
@juststillthinking
juststillthinking merged commit b38de97 into apache:master Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: kafka-logger doesn't support required_acks:0

4 participants