tisonkun commented on issue #13151: URL: https://github.com/apache/pulsar/issues/13151#issuecomment-1546865273
Cannot reproduce on master: ``` $ bin/pulsar-admin sinks create \ --archive ./connectors/pulsar-io-jdbc-postgres-3.1.0-SNAPSHOT.nar \ --inputs pulsar-postgres-jdbc-sink-topic \ --name pulsar-postgres-jdbc-sink \ --sink-config-file ./connectors/pulsar-postgres-jdbc-sink.yaml \ --parallelism 1 Created successfully $ bin/pulsar-admin sinks list \ --tenant public \ --namespace default [ "pulsar-postgres-jdbc-sink" ] $ bin/pulsar-admin sinks get \ --tenant public \ --namespace default \ --name pulsar-postgres-jdbc-sink { "tenant": "public", "namespace": "default", "name": "pulsar-postgres-jdbc-sink", "className": "org.apache.pulsar.io.jdbc.PostgresJdbcAutoSchemaSink", "sourceSubscriptionPosition": "Latest", "inputs": [ "pulsar-postgres-jdbc-sink-topic" ], "inputSpecs": { "pulsar-postgres-jdbc-sink-topic": { "isRegexPattern": false, "schemaProperties": {}, "consumerProperties": {}, "poolMessages": false } }, "configs": { "jdbcUrl": "jdbc:postgresql://localhost:5432/postgres", "userName": "chenzili", "tableName": "pulsar_postgres_jdbc_sink" }, "parallelism": 1, "processingGuarantees": "ATLEAST_ONCE", "retainOrdering": false, "retainKeyOrdering": false, "resources": { "cpu": 1.0, "ram": 1073741824, "disk": 10737418240 }, "autoAck": true, "cleanupSubscription": true } $ bin/pulsar-admin sinks status \ --tenant public \ --namespace default \ --name pulsar-postgres-jdbc-sink { "numInstances" : 1, "numRunning" : 1, "instances" : [ { "instanceId" : 0, "status" : { "running" : true, "error" : "", "numRestarts" : 0, "numReadFromPulsar" : 0, "numSystemExceptions" : 0, "latestSystemExceptions" : [ ], "numSinkExceptions" : 0, "latestSinkExceptions" : [ ], "numWrittenToSink" : 0, "lastReceivedTime" : 0, "workerId" : "c-standalone-fw-localhost-8080" } } ] } ``` -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org