Skip to content

Create a unified Snuba consumer #1670

Closed

Description

@BYK

Currently we have many Snuba consumers and seems like we are going to add more as we add more features around Snuba. This poses a maintenance and synchronization issue for on-premise as the growing number of consumers is hard to maintain. People also keep forgetting to add new consumers to the self-hosted repo, causing issues or missing features (this has happened twice now).

Proposal: introduce a consumers command to Snuba CLI that runs all core consumers with default settings (the settings we use in self-hosted) using multiprocessing so the consumers are still logically separate.

/cc @fpacifici @lynnagara @chadwhitacre

Activity

  1. added
    enhancement
    on Feb 11, 2021
  2. self-assigned this
    on Feb 11, 2021
  3. BYK commented on Mar 1, 2023

    @BYK
    MemberAuthor

    84years

  4. chadwhitacre commented on Mar 1, 2023

    @chadwhitacre
    Contributor

    Here it is @JoshFerge. :)

  5. added
    wontfix
    on Dec 9, 2024
  6. volokluev commented on Dec 9, 2024

    @volokluev
    Member

    This is too much work that our team does not have time for at the moment.

  7. untitaker commented on Dec 9, 2024

    @untitaker
    Member

    I think we should eventually do that but it's too early to create tickets. I think with lightweight deletes, EAP mutations, subscriptions the code became a lot more duplicated, the friction for creating new consumers in snuba feels very high, and the refactor in this issue would solve it. we did a similar project in sentry where we have way more consumers and it took me less than a quarter. I think it can be done in a limited fashion for rust only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementwontfix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions