avioconsulting / log4j2-sqs-appender

A custom appender for log4j2 which ships all the application logs to specified Amazon SQS queue in a specified region.
BSD 2-Clause "Simplified" License
8 stars 8 forks source link

Add endpoint optionnal parameter #13

Open spiralcb opened 1 year ago

spiralcb commented 1 year ago

Hello,

Is it possible to add a parameter to specify a optionnal endpoint. By default, SQS is only available thru public address but we could create an endpoint in a VPC to access SQS thru it without transit in Internet.

For example, using the boto3 module with Python, it's possible to add an endpoint_url to specify created endpoint and bypass the automatic URL build process.

sqs = session.resource('sqs',endpoint_url='<VPC_AWS_service_endpoint>/')

Best regards

neckron commented 1 year ago

added!. pending to release.