Uploaded image for project: 'Managed Service - Streams'
  1. Managed Service - Streams
  2. MGDSTRM-9780

Add `suspended` boolean property to Kafka instance admin endpoint

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • MK - Sprint 226

      WHAT

      Add `suspended` boolean property to Kafka instance admin endpoint

      WHY

      Enable a Kafka instance to be suspended and resumed from suspension

      HOW

      Extend the kas-fleet-manager Kafka admin patch endpoint to include a new optional boolean property suspended.

      • When true, the control plane will add the label bf2.org/suspended=true to the ManagedKafka resource.
      • When false, the control plane will remove the label bf2.org/suspended=true from the ManagedKafka resource.
      • When null or omitted, the control plane will make no changes to the bf2.org/suspended=true label.
      • Persist the value of suspended in the kafka requests table in the database to allow reconciliation (if required).
      • Investigate: is there a possibility to skip addition of the new suspended column in the kafka requests table by using 'status' instead.

      DONE

      • PATCH /api/kafkas_mgmt/v1/admin/kafkas/{id} of the should accept a boolean parameter 'suspended'
      • Unit/Integration tests created

       

              ppaszki Pawel paszki
              medgar@redhat.com Michael Edgar
              MK - Control Plane
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: