amazon-kinesis-data-generator | simplifies testing with Amazon Kinesis | AWS library
kandi X-RAY | amazon-kinesis-data-generator Summary
kandi X-RAY | amazon-kinesis-data-generator Summary
The Amazon Kinesis Data Generator is a UI that simplifies how you send test data to Amazon Kinesis Streams or Amazon Kinesis Firehose. Using the Amazon Kinesis Data Generator, you can create templates for your data, create random values to use for your data, and save the templates for future use.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialization function
- Define a new Mencer instance
- Create a faker
- create the data for a time
- Updates the user with the given role name
- send a response
- Returns a random number from a and b .
- Update a list of stream data
- creates the data
- Create a list of firehandlers for a specified stream
amazon-kinesis-data-generator Key Features
amazon-kinesis-data-generator Examples and Code Snippets
Community Discussions
Trending Discussions on amazon-kinesis-data-generator
QUESTION
I am using the Amazon Kinesis Data Generator to send data to a test Kinesis Firehose Stream for indexing in an Elasticsearch Service cluster.
The data generator sends a fairly basic json doc for processing, the stream element works fine, as does the Lambda transformation. I've verified and been able to test everything up to this point. It's only when the request is made to Elasticsearch inside my VPC that I get an error.
It works fine if I switch the pipeline to use a public Elasticsearch domain, but when I use the Elasticsearch domain inside my VPC, I get a 503 error. This is a consistent error on every single request so not a capacity issue.
Here's an example of the error I'm seeing. Just a generic 503. I'm not sure if this is coming from the load balancer or the target (Elasticsearch itself).
...ANSWER
Answered 2020-Oct-13 at 13:46So after a few days of pain I realised my mistake/quirk of Firehose set up.
My Elasticsearch cluster is Multi-AZ. When creating the Firehose, I was just letting it choose the default Security Groups based on the pre-existing Elasticsearch Domain. I only had one security group defined on the Firehose. It needs two if your Elasticsearch is in a VPC.
- One for Firehose outbound
- One for Elasticsearch inbound (you probably already have this)
Then they need to be joined together using the SG rules.
The Firehose Delivery Stream setup wizard will not warn you that you only have one security group and that this won't work. (Perhaps it would work for an Elasticsearch Domain on a single-AZ but I haven't tested.)
You must create the two required Security Groups before you create the Firehose Delivery Stream.
Create the first Security Group for the Firehose endpoint allowing HTTPS/433 outbound traffic. Then make sure the Elasticsearch Domain Security Group allows inbound HTTPS/433 traffic, specifically from the Firehose endpoint Security Group you just created.
Here is a diagram of what is needed (from this blog post: Ingest streaming data into Amazon Elasticsearch Service within the privacy of your VPC with Amazon Kinesis Data Firehose)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install amazon-kinesis-data-generator
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