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

Sink: Remove unusable subdoc & n1ql modes

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-dp.1
    • None
    • 1

    Description

      Some of the Subdocument / N1QL modes of operation are broken or unnecessary.

      Remove N1QL "UPSERT" mode. It's equivalent to the normal sink behavior, and provides no additional value.

      Remove subdoc "ARRAY_INSERT" mode. Inserting into a specific array index is a questionable use case.

      Remove subdoc "ARRAY_ADD_UNIQUE", "ARRAY_INSERT_ALL", "ARRAY_PREPEND_ALL", and "ARRAY_APPEND_ALL" modes. They are unusable and have never functioned correctly.

       

       

      Attachments

        For Gerrit Dashboard: KAFKAC-186
        # Subject Branch Project Status CR V

        Activity

          david.nault David Nault added a comment -

          As part of this change, the default operation for N1QL mode is changed from "UPSERT" to "UPDATE".

          david.nault David Nault added a comment - As part of this change, the default operation for N1QL mode is changed from "UPSERT" to "UPDATE".

          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