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

Allow to send byte[] payload with SAF pub/sub messages. #68

Open
berndbr opened this issue Oct 13, 2023 · 0 comments
Open

Allow to send byte[] payload with SAF pub/sub messages. #68

berndbr opened this issue Oct 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@berndbr
Copy link
Contributor

berndbr commented Oct 13, 2023

Currently the SAF pub/sub messaging only allows to send a payload of datatype string.

Sending binary data packages (e.g. in file transfers, etc.) is not possible and results in converting the binary packages into a JSON string, which will be converted into text using base64 encoding. This is a unnecessary increase of the size of the binary package being send.

To optimize data transfer in certain cases it might therfore be useful to send "byte[]" payloads too.

@berndbr berndbr self-assigned this Oct 13, 2023
@berndbr berndbr added the enhancement New feature or request label Oct 13, 2023
@berndbr berndbr changed the title Allow to send byte[] payload using SAF pub/sub messages. Allow to send byte[] payload with SAF pub/sub messages. Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant