Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1098

Fail to delete connector for Postgresql

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 0.8.2.Final
    • postgresql-connector
    • None
    • Hide

      create a postgres connector :

      curl -i -X GET -H "Accept:application/json" localhost:8083/connectors
      HTTP/1.1 200 OK
      Date: Thu, 24 Jan 2019 14:07:56 GMT
      Content-Type: application/json
      Content-Length: 12
      Server: Jetty(9.2.15.v20160210)

      ["vertical"]

      Delete it :

      curl -X DELETE http://localhost:8083/connectors/vertica

      Show
      create a postgres connector : curl -i -X GET -H "Accept:application/json" localhost:8083/connectors HTTP/1.1 200 OK Date: Thu, 24 Jan 2019 14:07:56 GMT Content-Type: application/json Content-Length: 12 Server: Jetty(9.2.15.v20160210) ["vertical"] Delete it : curl -X DELETE http://localhost:8083/connectors/vertica

    Description

      Hello

      I try to remove a postgresql connector but I did not achieve to do it properly.

      I create a connector, that works fine... Then I delete it...
      curl -X DELETE http://localhost:8083/connectors/vertica

      I got following logs :

      [2019-01-24 15:08:11,944] INFO 127.0.0.1 - - [24/Jan/2019:14:08:11 +0000] "DELETE /connectors/vertical HTTP/1.1" 204 - 526 (org.apache.kafka.connect.runtime.rest.RestServer:60)
      [2019-01-24 15:08:11,948] INFO Stopping connector vertical (org.apache.kafka.connect.runtime.Worker:301)
      [2019-01-24 15:08:11,949] INFO Stopped connector vertical (org.apache.kafka.connect.runtime.Worker:317)
      [2019-01-24 15:08:11,972] INFO Stopping task vertical-0 (org.apache.kafka.connect.runtime.Worker:447)

      But after this operation, kconnect has a strange behavior, I can not get information about connectors and "curl -i -X GET -H "Accept:application/json" localhost:8083/connectors"
      hangs...

      The only command that does not hangs is :

      curl -i -X GET -H "Accept:application/json" localhost:8083/connectors/vertical/status
      HTTP/1.1 200 OK
      Date: Thu, 24 Jan 2019 14:19:13 GMT
      Content-Type: application/json
      Content-Length: 159
      Server: Jetty(9.2.15.v20160210)

      {"name":"vertical","connector":

      {"state":"UNASSIGNED","worker_id":"192.168.56.209:8083"}

      ,"tasks":[

      {"state":"RUNNING","id":0,"worker_id":"192.168.56.209:8083"}

      ]}

      The only solution I found is to restart kconnect, to make it works again...

      Any idea if I did something wrong ? (I also try to apply a pause before deleting the connector with same result)

      Attachments

        Activity

          People

            Unassigned Unassigned
            easyoups RĂ©gis LE BRETONNIC (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: