pgandhap edited a comment on issue #5418:
URL: https://github.com/apache/pulsar/issues/5418#issuecomment-977598819


   Hi @tuteng @jm7647 
   
   Even i am unable to configure a JDBC Sink .  I followed this link : 
[https://pulsar.apache.org/docs/en/io-quickstart/#configure-a-jdbc-sink](url) . 
In this Step 1 and Step 2 was done , but coming to step 3 which is upload 
schema to topic . Getting error here with below 
   
   root@a817052bbed6:/pulsar# bin/pulsar-admin schemas upload 
pulsar-postgres-jdbc-sink-topic -f ./connectors/avro-schema
   java.io.FileNotFoundException: ./connectors/avro-schema (No such file or 
directory)
           at java.base/java.io.FileInputStream.open0(Native Method)
           at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
           at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
           at 
com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:1029)
           at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3413)
           at 
org.apache.pulsar.admin.cli.CmdSchemas$UploadSchema.run(CmdSchemas.java:88)
           at org.apache.pulsar.admin.cli.CmdBase.run(CmdBase.java:86)
           at 
org.apache.pulsar.admin.cli.PulsarAdminTool.run(PulsarAdminTool.java:282)
           at 
org.apache.pulsar.admin.cli.PulsarAdminTool.main(PulsarAdminTool.java:329)
   root@a817052bbed6:/pulsar# 
   
   For your information ,  i installed pulsar through docker command not with 
source code . 
   
   Please help on the same . Thanks !!!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to