Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: creates consumers if not present in NATS #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 13, 2023

  1. feat: creates consumers if not present in NATS

    The jetstream-controller its an operate that should ensure that a system
    is in a given state. During our tests we found out that if a consumers
    or stream are deleted via code or through `nats-box` they are not
    created again by the controller.
    
    From my understanding this is happening because we are checking if the
    observed generation number and generation number match in the CRD, which
    on this case (a manually delete consumer) will not change and thus not
    trigger a recreation.
    
    The following PR aims to resources (consumers and streams) being created
    in NATS in case they are not found by the client but there is a CRD for it.
    danielcibrao-form3 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    33877d1 View commit details
    Browse the repository at this point in the history