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

add EncodeBase64 Processor #498

Closed
oalam opened this issue Sep 4, 2019 · 4 comments
Closed

add EncodeBase64 Processor #498

oalam opened this issue Sep 4, 2019 · 4 comments
Assignees
Milestone

Comments

@oalam
Copy link
Member

oalam commented Sep 4, 2019

Expected behavior and actual behavior.

Encodes or decodes content to and from base64

Steps to reproduce the problem.

Specifications like the version of the project, operating system, or hardware.

@oalam oalam added the processor label Sep 4, 2019
@oalam oalam added this to the v1.2.1 milestone Sep 4, 2019
@amarziali
Copy link
Contributor

amarziali commented Sep 28, 2019

Hey @oalam maybe is too minimalistic but something like this may also work ? ;-)

`

  • processor: add_fields
    component: com.hurence.logisland.processor.AddFields
    type: processor
    configuration:
    my_base64_field: ${com.hurence.logisland.util.string.BinaryEncodingUtils.encode(record_value.getBytes())}

`

@oalam
Copy link
Member Author

oalam commented Sep 30, 2019

great hack, not so user friendly but a big part of the implementation

@amarziali
Copy link
Contributor

True. Feel free to assign to me. I've some spare time this week. I'll be glad to contribute with an easy ticket ;)

@oalam
Copy link
Member Author

oalam commented Oct 2, 2019

it's yours now ! thanks for your help & welcome back into streaming business :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants