Skip to content

Commit 91df7c7

Browse files
author
Luan Felipe Sapelli
committed
minor adjusts
1 parent 9062884 commit 91df7c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: create_env.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
awslocal sns create-topic --name local-event-sns
2-
awslocal sqs create-queue --queue-name local-queue-sqs
3-
awslocal sns subscribe --topic-arn arn:aws:sns:us-east-1:000000000000:local-event-sns --notification-endpoint http://localhost:4566/000000000000/local-queue-sqs --protocol sqs
1+
awslocal sns create-topic --name local-sns-topic
2+
awslocal sqs create-queue --queue-name local-sqs-queue
3+
awslocal sns subscribe --topic-arn arn:aws:sns:us-east-1:000000000000:local-sns-topic --notification-endpoint http://localhost:4566/000000000000/local-sqs-queue --protocol sqs

Diff for: settings/settings.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type Settings struct {
99
AwsRegion string `env:"AWS_REGION"`
1010
QueueUrl string `env:"QUEUE_URL"`
1111
WorkersCount string `env:"WORKERS_COUNT"`
12-
StreamName string `env:"STREAM_NAME"`
12+
StreamName string `env:"KINESIS_STREAM_NAME"`
1313
}
1414

1515
var settings Settings

0 commit comments

Comments
 (0)