From eec303cb55cde58821ff0cb16a059b100c007772 Mon Sep 17 00:00:00 2001 From: Joao Correia Date: Wed, 11 Dec 2024 08:11:01 -0800 Subject: [PATCH] Authentication for AWS Fargate Added AWS access section which is required to work with AWS Fargate. --- examples/config.kafka.extended.hocon | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/config.kafka.extended.hocon b/examples/config.kafka.extended.hocon index 57d0a6b2..d909196b 100644 --- a/examples/config.kafka.extended.hocon +++ b/examples/config.kafka.extended.hocon @@ -183,6 +183,16 @@ collector { # "enabled" which should be set to "stdout". enabled = kafka + # The following are used to authenticate for the Amazon Fargate + # If both are set to 'default', the default provider chain is used + # (see http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html) + # If both are set to 'iam', use AWS IAM Roles to provision credentials. + # If both are set to 'env', use environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY + aws { + accessKey = iam + secretKey = iam + } + # Or Kafka brokers = "localhost:9092,another.host:9092" ## Number of retries to perform before giving up on sending a record