pgandhap commented on issue #12987:
URL: https://github.com/apache/pulsar/issues/12987#issuecomment-979956237
Let me explain the steps what I followed :
1) I am trying to run Pulsar standalone on my windows machine.I am using
Docker:
docker run -d -it -p 6650:6650 -p 8080:8080 -v pulsardata:/pulsar/data -v
pulsarconf:/pulsar/conf --name pulsar-standalone apachepulsar/pulsar:2.8.1
bin/pulsar standalone
2) I want to use pulsar-postgres connector to store my data in PostgreSQL.So
I gave database settings in pulsar-postgres-jdbc-sink.yaml and it is available
on my windows machine at this path:
C:\Users\Pavan\apache-pulsar-2.8.1\connectors
3) I ran this command :bin/pulsar-admin sinks create --inputs
Kubernetes-topic --name jdbc-postgres-sink --sink-config-file
./connectors/pulsar-postgres-jdbc-sink.yaml
I got an error saying :
./connectors/pulsar-postgres-jdbc-sink.yaml (No such file or directory)
4) I also tried with absolute path of yaml file, still facing the same issue.
I would like to know , If this file (pulsar-postgres-jdbc-sink.yaml) takes
any effect while running pulsar using Docker. I am running pulsar using Docker
container and jdbc sink yaml file is available in my windows machine
(C:\Users\Pavan\apache-pulsar-2.8.1\connectors).
Please help.. 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]