Skip to content

Commit

Permalink
fix(outputs.kinesis): Honor the configured endpoint (influxdata#15781)
Browse files Browse the repository at this point in the history
  • Loading branch information
mskonovalov authored and asaharn committed Oct 16, 2024
1 parent 51e4503 commit b3ed628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/outputs/kinesis/kinesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ func (k *KinesisOutput) Connect() error {
return err
}

if k.EndpointURL != "" {
cfg.BaseEndpoint = &k.EndpointURL
}

svc := kinesis.NewFromConfig(cfg)

_, err = svc.DescribeStreamSummary(context.Background(), &kinesis.DescribeStreamSummaryInput{
Expand Down

0 comments on commit b3ed628

Please sign in to comment.