Upgrade Kinesis Producer Library to 1.x
Apache 2.0KPL 1.x is the AWS SDK v2 release of KPL 0.x, with the same classes under software.amazon.kinesis.producer. KinesisProducerConfiguration.setCredentialsProvider then takes the v2 credentials provider v2-migration produces. Runs before v2-migration, whose naming convention would otherwise rename KPL classes to non-existent SDK classes.
org. openrewrite. aws. sdk. MigrateKinesisProducerLibraryTo1mod run . --recipe= org. openrewrite. aws. sdk. MigrateKinesisProducerLibraryTo1Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.