Skip to content

Infinite synchro with "delete, compact" topic cleanup policy #737

@ThomasCAI-mlv

Description

@ThomasCAI-mlv

Describe the bug

When a topic is applied with "delete, compact" cleanup policy, the topic is then infinitely synchronized

To Reproduce

Steps to reproduce the behavior:

  1. Create a topic putting delete, compact in the spec.configs.cleanup.policy field
  2. Check every 20 sec that the topic is applied successfully

Expected behavior

The topic should be applied (created/updated) once.

Environment (please complete the following information):

  • Ns4Kafka version: 1.18.3
  • Kafka broker type and version: Confluent Cloud, v8

Steps taken to try and solve the problem

By putting delete,compact (without the space after the comma), Ns4kafka correctly applies the topic once. So it might be due to the "cleanup policy" format returned by the adminClient which is "delete,compact". This interfere with the comparison.

Additional context

compact,delete needs to be checked as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions