This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 136
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 (#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)
- Loading branch information
1 parent
ae5d500
commit 34cab7d
Showing
1 changed file
with
17 additions
and
26 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