Aiven-commons project has an ExtendedConfigKey that handles deprecation notification.
This change is to move deprecation processing (mostly in S3) to use the ExtendedConfigKey in preparation to moving to aiven-commons.
The tasks involved here are to
- Copy the aiven-commons / kafka-config / src/java packages to the commons / src directory of this project.
 
- Modify the code that processed deprecated configuration options (mostly in S3) to use the ExtendedConfigKey for all deprecated options.
 
- Modify the code to ensure that use of deprecated options is reported in the log.