-
Notifications
You must be signed in to change notification settings - Fork 239
Firehose transformation example #95
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
Comments
I have open-source one lambda which does an XSLT transformation on Kinesis Firehose records (which have to be XML, or JSON with additional processing): |
Hi Martynas, We've passed on your feedback to the docs team. Thank you for posting a link to you own example, that's really useful for the community. |
Hello, Given the fact that this page is the 1st hit on google while searching for: I believe there is still an issue |
@mberchon Thanks for the feedback, I've raised a PR to create a new module to contain examples functions for the less obvious use cases. I'll talk to the team on Monday and see what they think. I've not tested the example yet, I'll try and do that next week. The KinesisAnalyticsInputPreprocessingResponse response object seems to have the required attributes even if the name isn't particularly helpful in the Firehose use case. Hopefully this helps a little. https://github.com/aws/aws-lambda-java-libs/pull/271/files |
Maybe this lambda can serve as an example: https://github.com/AtomGraph/XSLTTransform |
@msailes Thx for the link, it helps I learned that the lambda function has to implement RequestHandler[KinesisFirehoseEvent, KinesisAnalyticsInputPreprocessingResponse] instead of RequestHandler[KinesisFirehoseEvent,String]. And it works :-) Thx again, |
@msailes thx! help me l lot. |
Amazon Kinesis Data Firehose Data Transformation says
I think this section treats Java unfairly. You provide this whole Lambda SDK for Java yet cannot include a simple example? Even the handler signature is unclear, as you can see from questions on your own support forum as well as on StackOverflow.
Can you please include an example so Java developers do not feel forced to abandon their language of choice and/or google second-hand sites for scraps of information? Thanks.
The text was updated successfully, but these errors were encountered: