amazon-kinesis-client
amazon-kinesis-client copied to clipboard
[1.x] Why many overloads of `KinesisClientLibConfiguration` have been marked as deprecated?
Since this commit https://github.com/awslabs/amazon-kinesis-client/commit/6f16b168a4fbd559a4c76956421bfbd9e4c99293, it seems you marked many overloads of constructors of the class KinesisClientLibConfiguration
as deprecated without any alternative suggestions.
How can I instantiate this class from then?
I don't want to think this one which is required full arguments would be... Passing a lot of defaults to the constructor is a somewhat boring me :(
It appears that the caller is expected to use a builder pattern/the withXXX methods, but there's no default constructor to facilitate it.
Nobody from the dev team to chime in?
Was it a mistake to deprecate them? If not maybe the javadoc of the deprecated constructors should be updated with the new "recommended way"?
My build system is configured to change warnings to errors so if it's deprecated, I can't use it.
super wired
This is really a problem. It needs to be fixed ASAP.
We actually wanted to migrate this to a builder with essential args constructor. Will release a fix shortly.
Is this fixed yet? I also don't want to use this https://github.com/awslabs/amazon-kinesis-client/blob/v1.x/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java#L636.
How exactly to use builder?
We actually wanted to migrate this to a builder with essential args constructor. Will release a fix shortly.
Nine months later... 😂
We actually wanted to migrate this to a builder with essential args constructor. Will release a fix shortly.
Nine months later... 😂
Twenty-one months later...
We actually wanted to migrate this to a builder with essential args constructor. Will release a fix shortly.
Nine months later... 😂
Twenty-one months later...
Thirty-three months later... 😅