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

Not able to use StremMessage Class MetaData information from decoder class (JSONMessageDecoder) #13442

Open
prasad-maladi opened this issue Jun 19, 2024 · 3 comments

Comments

@prasad-maladi
Copy link

I am writing plugin to decode the kafka message, but the decoder class doesn't have access to the StreamMessage metadata information.
Is there possibility to decode the message using metadata information?

@Jackie-Jiang
Copy link
Contributor

cc @swaminathanmanish @KKcorps

@Jackie-Jiang
Copy link
Contributor

Ideally decoder should be decoupled from stream type, but seems we also have coupled decoders such as KafkaAvroMessageDecoder. How do you plan to use the metadata within the decoder?

@prasad-maladi
Copy link
Author

payload is encryted in our case, we have properties which can decrypt the payload in metadata object. StreamMassage has metadata object, but I can't really use in my decoder.

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