Skip to content

Commit

Permalink
fix: sns subject limit
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Mar 1, 2024
1 parent a686d22 commit c103b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/shared/telemetry/sns_message_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (s *SNSMessageSenderImpl) SendMessage(ctx context.Context, subject string,
StringValue: aws.String(attributes.Type),
},
},
Subject: aws.String(subject),
Subject: aws.String(subject[:100]),
TopicArn: aws.String(s.topic),
})
if err != nil {
Expand Down

0 comments on commit c103b08

Please sign in to comment.