Skip to content

Commit

Permalink
Update docs/connectors/sources/kinesis-source.md
Browse files Browse the repository at this point in the history
Co-authored-by: Remy Gwaramadze <[email protected]>
  • Loading branch information
tim-quix and gwaramadze committed Nov 21, 2024
1 parent 649f418 commit 21569ec
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions docs/connectors/sources/kinesis-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,23 +112,22 @@ The default topic name the Application dumps to is `source-kinesis_<stream name>

## 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
`

0 comments on commit 21569ec

Please sign in to comment.