Skip to content

KIP-932: Add Share Consumer soak tests + high-throughput perf variant#2230

Open
Ankith L (Ankith-Confluent) wants to merge 24 commits into
masterfrom
dev_kip-932_soak_tests
Open

KIP-932: Add Share Consumer soak tests + high-throughput perf variant#2230
Ankith L (Ankith-Confluent) wants to merge 24 commits into
masterfrom
dev_kip-932_soak_tests

Enforce SHARE flag requirement for PERF mode in soak tests

2f6e5ab
Select commit
Loading
Failed to load commit list.
SonarQube-Confluent / SonarQube Code Analysis succeeded Jul 2, 2026 in 35s

Annotations

Check failure on line 672 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal 'group.id' 6 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=db11bdd0-3f84-4b5b-aef9-1c5505ded133&open=db11bdd0-3f84-4b5b-aef9-1c5505ded133

Check failure on line 420 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Refactor this function to reduce its Cognitive Complexity from 58 to the 15 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=5b72fd66-fa75-4fd5-9694-b447cd09414e&open=5b72fd66-fa75-4fd5-9694-b447cd09414e

Check failure on line 690 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "producer." 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=77998f11-25af-4fb3-bf61-4742cd87f3e8&open=77998f11-25af-4fb3-bf61-4742cd87f3e8

Check failure on line 636 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=476ff192-142b-4743-afb7-0be542fd8df2&open=476ff192-142b-4743-afb7-0be542fd8df2

Check failure on line 369 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "consumer.errorcb" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=83df2aed-b5f1-4ac6-b10b-1cbc8e6d753a&open=83df2aed-b5f1-4ac6-b10b-1cbc8e6d753a

Check failure on line 542 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Make sure that using this pseudorandom number generator is safe here.

[S2245] Using pseudorandom number generators (PRNGs) is security-sensitive
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=1e8962be-b133-4a5f-839a-9f4b0f1300e7&open=1e8962be-b133-4a5f-839a-9f4b0f1300e7

Check failure on line 279 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "consumer.error" 9 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=44751664-0055-42ad-93c2-cebdf51b73ae&open=44751664-0055-42ad-93c2-cebdf51b73ae

Check failure on line 690 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "admin." 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=161dbca5-37dd-44f4-bc09-e5a73e297fda&open=161dbca5-37dd-44f4-bc09-e5a73e297fda

Check failure on line 691 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal 'client.id' 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=ecceca04-e819-4769-8942-867fc813cf0d&open=ecceca04-e819-4769-8942-867fc813cf0d

Check failure on line 690 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "share." 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=2c4a665c-1a0d-4545-9ebb-415e15ff1540&open=2c4a665c-1a0d-4545-9ebb-415e15ff1540

Check failure on line 333 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "consumer.msgdup" 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=8f42e9b0-b1d5-4c43-9e7f-fa79bb0dbb17&open=8f42e9b0-b1d5-4c43-9e7f-fa79bb0dbb17

Check failure on line 690 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "consumer." 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=71e16ff6-3e48-47c6-879c-fc93fc45b4de&open=71e16ff6-3e48-47c6-879c-fc93fc45b4de

Check failure on line 293 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "consumer.msgerr" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=534b485c-c72a-4313-8f72-be4ea222fe19&open=534b485c-c72a-4313-8f72-be4ea222fe19

Check failure on line 152 in tests/soak/soakclient.py

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.confluent.io/project/issues?id=confluent-kafka-python&pullRequest=2230&issues=7b1616b9-43d3-4daa-8160-78c524862e86&open=7b1616b9-43d3-4daa-8160-78c524862e86