Hi everyone, I am trying to create s3 and kinesis ...
# troubleshooting
g
Hi everyone, I am trying to create s3 and kinesis data source in flink using java in my local machine. I am able to connect to kinesis without any credentials error but when create s3 data source, I am getting credentials error. I have tried setting the input properties and setting up conf.yaml file but the error is still not resolved. Have anyone faced this problem before and can help me with it? Thanks!
Did you set below configs in flink-conf.yaml
Copy code
s3.access-key: your-access-key
s3.secret-key: your-secret-key
g
Yes, I have set these config. Provided the path for this file by setting the
FLINK_CONF_DIR
environment variable.
But it still shows the same error.
p
Passing above configs into the hadoop configuration object while creating delta RowDataContinuousDeltaSourceBuilder has fixed the credentials issue.
g
Started facing this again.. finally resolved after setting the environment variables AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY