diff --git a/docs/connectors/sources/kinesis-source.md b/docs/connectors/sources/kinesis-source.md index 91ae9a1cc..627e0246b 100644 --- a/docs/connectors/sources/kinesis-source.md +++ b/docs/connectors/sources/kinesis-source.md @@ -112,23 +112,22 @@ The default topic name the Application dumps to is `source-kinesis_ ## Testing Locally -Rather than connect to AWS, you can alternatively test your application using -a local Kinesis host via docker: +Rather than connect to AWS, you can alternatively test your application using a local Kinesis host via Docker: -1. Set `aws_endpoint_url` for `KinesisSource` _OR_ the `AWS_ENDPOINT_URL_KINESIS` - environment variable to: - - `localhost:8085` +1. Execute in terminal: -2. Set all other `aws_` parameters for `KinesisSource` to _any_ string. -They will not be used, but they must still be populated! + ```bash + docker run --rm -d --name kinesis \ + -p 4566:4566 \ + -e SERVICES=kinesis \ + -e EDGE_PORT=4566 \ + -e DEBUG=1 \ + localstack/localstack:latest + ``` -3. execute in terminal: +2. Set `aws_endpoint_url` for `KinesisSource` _OR_ the `AWS_ENDPOINT_URL_KINESIS` + environment variable to `http://localhost:4566` + +3. Set all other `aws_` parameters for `KinesisSource` to _any_ string. +They will not be used, but they must still be populated! - `docker run --rm -d --name kinesis \ - -p 4566:4566 \ - -e SERVICES=kinesis \ - -e EDGE_PORT=4566 \ - -e DEBUG=1 \ - localstack/localstack:latest -`