Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4625

Add External Versioning to PutElasticSearch5 Processor

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: Core Framework
    • Environment:
      All

      Description

      Currently the PutElasticSearch5 processor does not support external versioning.
      The idea would be to add a property that follows the same logic as the Id property, and allows index documents with an externally controlled version.

      I've changed the code already and added some tests. Right now the changes proposed are:

      • Add a new property Version in the processor block.
      • Change the Index operation to support the versioning number and versioning type = external
      • Check if the versioning is used with other operation types, fail if so.
        (Idea behind this is that the bulk api doest not support external versioning for any other operation except Index)

        Attachments

          Activity

            People

            • Assignee:
              otherview Pedro Gomes
              Reporter:
              otherview Pedro Gomes
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified