Uploaded image for project: 'folio-kafka-wrapper-util'
  1. folio-kafka-wrapper-util
  2. KAFKAWRAP-11

Remove duplicate kafka headers

    XMLWordPrintable

Details

    • Folijet Sprint 123
    • 0
    • Folijet
    • R3 2021

    Description

      Overview:

      List<KafkaHeader> kafkaHeaders have to contains only unique values.

      Steps to Reproduce:

      Check result of KafkaHeaderUtils.kafkaHeadersFromMultiMap(params.getHeaders()) in RecordsPublishingServiceImpl.sendRecords(...)

      Expected Results:

      x-okapi-request-timestamp = <some value>
      jobExecutionId = <some value>
      ........
      correlationId = <some value>
      x-okapi-request-ip = <some value>
      Content-type = application/json
      Accept = application/json, text/plain

      Actual Results:
      x-okapi-request-timestamp = <some value>
      jobExecutionId = <some value>
      ........
      correlationId = <some value>
      x-okapi-request-ip = <some value>
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Aivar Iusupov Aivar Iusupov
                Aivar Iusupov Aivar Iusupov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases