Closed jaehyeon-kim closed 11 months ago
Found I have to use flink-connector-kafka instead of flink-sql-connector-kafka. See https://github.com/aws-samples/amazon-kinesis-data-analytics-blueprints/tree/main/apps/python-table-api/msk-serverless-to-s3-tableapi-python
I was able to get this to work with flink-sql-connector-kafka
by shading org.apache.kafka
<relocation>
<pattern>org.apache.kafka</pattern>
<shadedPattern>org.apache.flink.kafka.shaded.org.apache.kafka</shadedPattern>
</relocation>
Hello, I work on connecting to an AWS MSK cluster with IAM authentication method and I failed with the following error - the full error message can be found in error.txt - error.txt
I tried both adding multiple JAR files and a single fat jar file as I plan to deploy it to Kinesis Data Analytics later. Both raise the same error and the POM file for the fat jar can be found in pom.xml. Also The relevant app configuration can be found in src.py.
Can you please inform me how to fix this error?
src.py
pom.xml