Hi - I'm trying to troubleshoot flink-sql S3 sink ...
# troubleshooting
p
Hi - I'm trying to troubleshoot flink-sql S3 sink - when I use local file system say :
path = file:///tmp/usersink
then sink works just fine. I have verified following already: β€’ consuming message from kafka topic using table with connector kafka and select query works fine on kafka table. β€’ no errors/exception seen in job/task manager β€’ plugins jar does exist
flink-s3-fs-hadoop-1.18.0.jar
(using flink 1.18) β€’ aws config key/secret or credentials provider set correctly
Copy code
CREATE TABLE user_sink_s3 (
     id STRING,
     name STRING,
     address STRING
) WITH (
    'connector' = 'filesystem',
    'path' = 's3a://testsink', 
    'format' = 'json'
);
is there anything missing here w.r.t properties ?
s
Do you see any particular error, or it is just stuck?
One thing I have noticed is that, to create a
filesystem
sink file, you will have to enable
checkpointing
πŸ‘ 1
p
no particular error - but let me try
checkpointing
πŸ‘ 1
s
I would also set
execution.checkpointing.interval
to a lower value just for testing
p
Big thank you @Sandip Nayak πŸ™ ! setting checkpointing was missing from getting this to work !
πŸ™Œ 1