Uploaded image for project: 'Couchbase Kafka Connector'
  1. Couchbase Kafka Connector
  2. KAFKAC-174

Unrecognized bucket capability causes failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • None
    • None
    • 1

    Description

      Community member Santhosh Kumar writes:

       

      Couchbase Kafka connector version: 3.4
      Kafka version: 2.12-2.5.0

       

      While I start the kafka connector source in standalone mode, I see error below.

      Caused by: com.couchbase.client.deps.com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.couchbase.client.core.config.BucketCapabilities from String value (“durableWrite”): value not one of declared Enum instance names: [nodesExt, dcp, cbhello, xattr, couchapi, cccp, touch, xdcrCheckpointing]

      Caused by: com.couchbase.client.deps.com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.couchbase.client.core.config.BucketCapabilities from String value (“durableWrite”): value not one of declared Enum instance names: [nodesExt, dcp, cbhello, xattr, couchapi, cccp, touch, xdcrCheckpointing]
      at [Source: {“rev”:41,“name”:“travel-sample”,“uri”:"/pools/default/buckets/travel-sample?bucket_uuid=2395f1bca573d100977f9adaf60634c0",“streamingUri”:"/pools/default/bucketsStreaming/travel-sample?bucket_uuid=2395f1bca573d100977f9adaf60634c0",“nodes”:[{“couchApiBase”:“http://127.0.0.1:8092/travel-sample%2B2395f1bca573d100977f9adaf60634c0",“hostname”:“127.0.0.1:8091”,“ports”:{“direct”:11210}},“nodesExt”:[{“services”:

      {“mgmt”:8091,“mgmtSSL”:18091,“cbas”:8095,“cbasSSL”:18095,“eventingAdminPort”:8096,“eventingDebug”:9140,“eventingSSL”:18096,“fts”:8094,“ftsSSL”:18094,“ftsGRPC”:9130,“ftsGRPCSSL”:19130,“indexAdmin”:9100,“indexScan”:9101,“indexHttp”:9102,“indexStreamInit”:9103,“indexStreamCatchup”:9104,“indexStreamMaint”:9105,“indexHttps”:19102,“kv”:11210,“kvSSL”:11207,“capi”:8092,“capiSSL”:18092,“projector”:9999,“projector”:9999,“n1ql”:8093,“n1qlSSL”:18093}

      ,“thisNode”:true}],“nodeLocator”:“vbucket”,“uuid”:“2395f1bca573d100977f9adaf60634c0”,“ddocs”:{“uri”:"/pools/default/buckets/travel-sample/ddocs"},“vBucketServerMap”:{“hashAlgorithm”:“CRC”,“numReplicas”:1,“serverList”:[“127.0.0.1:11210”],“vBucketMap”:[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]]},“bucketCapabilitiesVer”:"",“bucketCapabilities”:[“durableWrite”,“couchapi”,“dcp”,“cbhello”,“touch”,“cccp”,“xdcrCheckpointing”,“nodesExt”,“xattr”],“clusterCapabilitiesVer”:[1,0],“clusterCapabilities”:{“n1ql”:"enhancedPreparedStatements”]}}; line: 1, column: 1601] (through reference chain: com.couchbase.client.core.config.DefaultCouchbaseBucketConfig[“bucketCapabilities”]->java.util.ArrayList[0])

       

      I suppose the problem is with enum definition in core-io.jar.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              david.nault David Nault
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty