-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
If the system environment variables include kafka
or KAFKA
, the KafkaRuntimeConfigProducer
throws an exception.
#40677
Labels
Milestone
Comments
quarkus-bot
bot
added
area/config
area/kafka
env/windows
Impacts Windows machines
labels
May 16, 2024
/cc @alesj (kafka), @cescoffier (kafka), @ozangunalp (kafka), @radcortez (config) |
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 21, 2024
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 22, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 22, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 23, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 23, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Jun 4, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Jun 4, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Jun 4, 2024
Fixes quarkusio#40677 (cherry picked from commit 46b1e27)
holly-cummins
pushed a commit
to holly-cummins/quarkus
that referenced
this issue
Jul 31, 2024
danielsoro
pushed a commit
to danielsoro/quarkus
that referenced
this issue
Sep 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
If the system environment variables include
kafka
orKAFKA
, theKafkaRuntimeConfigProducer
throws an error.The
substring
here throws an exception:quarkus/extensions/kafka-client/runtime/src/main/java/io/quarkus/kafka/client/runtime/KafkaRuntimeConfigProducer.java
Lines 40 to 41 in 670b1ad
Expected behavior
Work without throwing any error
Actual behavior
throw exception:
Caused by: java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 5
How to Reproduce?
Output of
uname -a
orver
Windows_NT minij 6.2 9200 x86_64 MS/Windows
Output of
java -version
openjdk version "21" 2023-09-19 OpenJDK Runtime Environment (build 21+35-2513) OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)
Quarkus version or git rev
3.10.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Additional information
No response
The text was updated successfully, but these errors were encountered: