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

UTF-8 decoding and handling #50

Merged
merged 6 commits into from
Oct 24, 2023
Merged

UTF-8 decoding and handling #50

merged 6 commits into from
Oct 24, 2023

Conversation

gr211
Copy link
Contributor

@gr211 gr211 commented Oct 24, 2023

Why

kinesis-tailr expects payloads to be UTF-8 encoded. If a payload is not UTF-8 encoded, it will be base64 encoded and printed as such.

It might be useful to print the raw payload instead though. This can be achieved with the --no-base64 flag.

Properly UTF-8 encoded payloads will be printed as such and never base64 encoded.

@gr211 gr211 self-assigned this Oct 24, 2023
@gr211 gr211 merged commit 05a978f into main Oct 24, 2023
1 check passed
@gr211 gr211 deleted the utf8 branch October 24, 2023 22:20
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.

1 participant