rom-dynamo | AWS DynamoDB adapter for Ruby Object Mapper | AWS library
kandi X-RAY | rom-dynamo Summary
kandi X-RAY | rom-dynamo Summary
AWS DynamoDB adapter for Ruby Object Mapper
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rom-dynamo
rom-dynamo Key Features
rom-dynamo Examples and Code Snippets
Community Discussions
Trending Discussions on rom-dynamo
QUESTION
I came across this question and answer, showing how to push data from DynamoDB to Elasticsearch for full-text search indexing. Our application, however, is not making use of Lambdas. Instead, we're using Apache Camel to capture DynamoDB Streams events and want to push the records to Elasticsearch from there.
Since we are using AWS SDK v2, we're not capturing a DynamodbEvent
class or corresponding DynamodbStreamRecord
record class containing the DynamoDB record. Instead, we are receiving a software.amazon.awssdk.services.dynamodb.model.Record
object. Given that, how can we serialize and subsequently index this data in Elasticsearch? In the other question referenced, the record is converted to a JSON string and then sent over to Elasticsearch. Is there a way to do this with the v2 Record
class? The ItemUtils
class mentioned in the answer no longer exists, so I was unaware of another way to serialize it.
Any help you can give is greatly appreciated!!
...ANSWER
Answered 2020-Oct-30 at 22:07Similar to the example you provided, you can try something like the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rom-dynamo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page