Skip to content

[improve][fn] Avoid getting stats for a "regex" topic#22320

Open
jiangpengcheng wants to merge 1 commit intoapache:masterfrom
jiangpengcheng:fix_function_cleanup
Open

[improve][fn] Avoid getting stats for a "regex" topic#22320
jiangpengcheng wants to merge 1 commit intoapache:masterfrom
jiangpengcheng:fix_function_cleanup

Conversation

@jiangpengcheng
Copy link
Contributor

Fixes #xyz

Main Issue: #xyz

PIP: #xyz

Motivation

While "cleanup" a function, it may try to get the stats for a "regex" topic which is useless, and the error logs also doesn't print the existingConsumers

Modifications

Do not get stats if topic is "regex"

Verifying this change

  • Make sure that the change passes the CI checks.

  • This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: jiangpengcheng#29

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Mar 21, 2024
@jiangpengcheng jiangpengcheng force-pushed the fix_function_cleanup branch 2 times, most recently from 5123629 to 4f81abe Compare March 28, 2024 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments