You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are looking to use this library in our project and would be happy to pick up some of the project maintenance if needed.
However we do need a submit a PR, which adds the possibility to pass in an endpoint_url for both the Kinesis (consumer.KinesisConsumer) and DynamoDB (state.DynamoDB) setup, along with a session. We need this so we can work with Localstack.
I'll put together the PR but just wanted to check that you're open to this beforehand!
Thanks
The text was updated successfully, but these errors were encountered:
Pass custom boto3 session into KinesisConsumer constructor - example consumer below:
import pprint
import localstack_client.session
from kinesis.consumer import KinesisConsumer
session = localstack_client.session.Session()
consumer = KinesisConsumer(stream_name='Logs-Dev', boto3_session=session)
for message in consumer:
pprint.pprint(message)
If you need to customize the endpoint URL further (use url other than LocalStack default) set environment variable LOCALSTACK_HOST to the hostname require, USE_SSL to set http or https.
Hi,
We are looking to use this library in our project and would be happy to pick up some of the project maintenance if needed.
However we do need a submit a PR, which adds the possibility to pass in an endpoint_url for both the Kinesis (consumer.KinesisConsumer) and DynamoDB (state.DynamoDB) setup, along with a session. We need this so we can work with Localstack.
I'll put together the PR but just wanted to check that you're open to this beforehand!
Thanks
The text was updated successfully, but these errors were encountered: