-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[exporter/awskinesisexporter] Adding region config #16233
[exporter/awskinesisexporter] Adding region config #16233
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seem to be a bug, so please add a changelog entry
Apologies, I did forget it in my very tired state. |
@Aneurysm9 any updates regarding this? I urgently require a fix to this issue and will appreciate an update, thank you! |
lo.Region = conf.AWS.Region | ||
return nil | ||
}) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this change tested?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been thinking about this, I don't think I have a good answer atm.
Let me play with some ideas on how to expose this information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So how I wanted to do this and what came out are very different due to the fact the fact that using assert.EqualValues
resulted in differences due to lambda references being stored.
The best alternative without doing much of a major refactor was to create an options type and redefine the kinesis.NewClient
method.
c4b9f7b
to
c4908ba
Compare
@codeboten anything left to address here? |
c4908ba
to
210bf91
Compare
210bf91
to
fde67a9
Compare
ping @codeboten |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @MovieStoreGuy!
Description:
This was an oversight with the upgrade for the client to use
aws sdk v2
Link to tracking Issue:
#16259
Testing:
NA
Documentation:
The documentation already exists.