forked from streamnative/kop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improvement] Remove expensive useless String.format() in canConsumeA…
…sync (streamnative#1893) (cherry picked from commit fa63a4a) This PR is used to cherry-pick the commit datastax/starlight-for-kafka@fa63a4a. ### Motivation The String.format() is an expensive operation in the method canConsumeAsync. ### Modifications Remove the String.format() operation. Co-authored-by: Enrico Olivelli <[email protected]> (cherry picked from commit 45bd29c) Fix conflicts by applying `checkResourceType` to `canDeleteGroupAsync`.
- Loading branch information
1 parent
541edc5
commit 80f3111
Showing
1 changed file
with
18 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters