AI Slop Code Risk Monitor

AutoMQ/automq

SlopCodeMonitor badge for AutoMQ/automq Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Diskless Kafka® on S3. 10x Cost-Effective. No Cross-AZ Traffic Cost. Autoscale in seconds. Single-digit ms latency. Multi-AZ Availability.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for AutoMQ/automq, a Java project with 10,919 GitHub stars. SynthScan examined 1,653,632 lines of code across 7485 source files, recording 1653 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
10.9K
Stars
Java
Language
1.7M
Lines of Code
7.5K
Files
1.7K
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 4.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1303 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

Are imports declared and package/API names verified? 225 finding(s).

Agent Over-Engineering Ratio 2.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 427 finding(s).

PR Review Velocity Impact 9.2/100 · LOW

Which changes need focused human review? 1653 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 126HIGH 58MEDIUM 51LOW 1418

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1653 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators126 hits · 1345 pts
SeverityFileLineSnippetContext
CRITICAL⚡…g/apache/kafka/clients/producer/KafkaProducerTest.java615 props.setProperty(ProducerConfig.INTERCEPTOR_CLASSES_CONFIG, org.apache.kafka.test.MockProducerInterceptor.cCODE
CRITICAL⚡…g/apache/kafka/clients/producer/KafkaProducerTest.java616 + org.apache.kafka.test.MockProducerInterceptor.class.getName() + ", "CODE
CRITICAL⚡…g/apache/kafka/clients/producer/KafkaProducerTest.java617 + org.apache.kafka.test.MockProducerInterceptor.class.getName());CODE
CRITICAL…g/apache/kafka/clients/admin/KafkaAdminClientTest.java711 new org.apache.kafka.common.feature.SupportedVersionRange(versionRange.minVersion(),CODE
CRITICAL…lients/consumer/internals/ShareCompletedFetchTest.java226 assertArrayEquals("key".getBytes(), org.apache.kafka.common.utils.Utils.toNullableArray(thrown.keyBufferCODE
CRITICAL…ache/kafka/common/record/UnalignedFileRecordsTest.java55 org.apache.kafka.common.requests.ByteBufferChannel channel = new org.apache.kafka.common.requests.ByteBufferChanCODE
CRITICAL…va/org/apache/kafka/clients/producer/MockProducer.java128 this(Cluster.empty(), autoComplete, new org.apache.kafka.clients.producer.internals.DefaultPartitioner(), keySerCODE
CRITICAL…va/org/apache/kafka/clients/producer/MockProducer.java141 this(cluster, autoComplete, new org.apache.kafka.clients.producer.internals.DefaultPartitioner(), keySerializer,CODE
CRITICAL…a/org/apache/kafka/clients/admin/KafkaAdminClient.java4472 return new ScramFormatter(org.apache.kafka.common.security.scram.internals.ScramMechanism.forMechanismName(publiCODE
CRITICAL…rg/apache/kafka/tools/TopicCommandIntegrationTest.java143 testTopicName = String.format("%s-%s", info.getTestMethod().get().getName(), org.apache.kafka.test.TestUtils.ranCODE
CRITICAL…c/test/java/org/apache/kafka/tools/ToolsTestUtils.java210 return org.apache.kafka.test.TestUtils.tempFile(sb.toString());CODE
CRITICAL…/java/kafka/test/junit/ZkClusterInvocationContext.java231 org.apache.kafka.test.TestUtils.waitForCondition(() -> {CODE
CRITICALcore/src/test/java/kafka/admin/AclCommandTest.java705 org.apache.kafka.common.utils.Exit.setExitProcedure((status, __) -> {CODE
CRITICALcore/src/test/java/kafka/admin/AclCommandTest.java713 org.apache.kafka.common.utils.Exit.resetExitProcedure();CODE
CRITICAL…c/test/java/kafka/automq/zerozone/RouterOutV2Test.java316 long deadlineNanos = System.nanoTime() + java.util.concurrent.TimeUnit.SECONDS.toNanos(5);CODE
CRITICAL…afka/automq/table/binder/AvroRecordBinderTypeTest.java676 org.junit.jupiter.api.Assertions.fail("Expected UnsupportedOperationException for non-optional union {null, CODE
CRITICAL…afka/automq/table/binder/AvroRecordBinderTypeTest.java703 org.junit.jupiter.api.Assertions.fail("Expected UnsupportedOperationException for non-optional union {null, CODE
CRITICAL…afka/automq/table/binder/AvroRecordBinderTypeTest.java726 org.junit.jupiter.api.Assertions.fail("Expected UnsupportedOperationException for field with non-optional unCODE
CRITICAL…a/automq/table/process/RecordProcessorFactoryTest.java880 return schemaRegistryClient.register(subject, new io.confluent.kafka.schemaregistry.avro.AvroSchema(schema));CODE
CRITICAL…process/convert/ProtobufRegistryConverterUnitTest.java697 org.apache.kafka.common.utils.ByteUtils.writeVarint(indexes.length, buffer);STRING
CRITICAL…process/convert/ProtobufRegistryConverterUnitTest.java699 org.apache.kafka.common.utils.ByteUtils.writeVarint(index, buffer);STRING
CRITICAL…mq/table/process/convert/ProtoToAvroConverterTest.java166 com.squareup.wire.schema.internal.parser.ProtoParser.Companion.parse(ProtoConstants.DEFAULT_LOCATION, proto)STRING
CRITICAL…e/src/test/scala/unit/kafka/zk/KafkaZkClientTest.scala1363 val token = new org.apache.kafka.common.security.token.delegation.DelegationToken(tokenInfo, bytes)CODE
CRITICAL…/coordinator/transaction/TransactionMetadataTest.scala470 val clientTransactionState = org.apache.kafka.clients.admin.TransactionState.parse(state.name)CODE
CRITICAL…kafka/coordinator/group/GroupMetadataManagerTest.scala3095 val record = new org.apache.kafka.coordinator.group.generated.GroupMetadataKey()CODE
CRITICAL…kafka/coordinator/group/GroupMetadataManagerTest.scala3118 val unknownKey = new org.apache.kafka.coordinator.group.generated.GroupMetadataKey()CODE
CRITICAL…tegration/MetricsDuringTopicCreationDeletionTest.scala62 val metricName = KafkaYammerMetrics.defaultRegistry.allMetrics.asScala.keys.find(_.getName.endsWith(m))CODE
CRITICAL…rc/test/scala/unit/kafka/admin/AddPartitionsTest.scala151 val partitions = response.topicMetadata.asScala.head.partitionMetadata.asScala.sortBy(_.partition)CODE
CRITICAL…/unit/kafka/server/ReplicaAlterLogDirsThreadTest.scala470 assertEquals(new org.apache.kafka.server.common.TopicIdPartition(topicId, t1p0.partition()), topicIdPartitionCaptureCODE
CRITICAL…ala/unit/kafka/server/BrokerLifecycleManagerTest.scala92 assertEquals(10L, context.mockChannelManager.unsentQueue.getFirst.request.build().asInstanceOf[BrokerRegistrationRCODE
CRITICAL…unit/kafka/server/ThrottledChannelExpirationTest.scala33 private val metrics = new org.apache.kafka.common.metrics.Metrics(new MetricConfig(),CODE
CRITICAL…test/scala/unit/kafka/server/MetadataRequestTest.scala385 val brokersSorted = response.get.brokers.asScala.toSeq.sortBy(_.id)CODE
CRITICAL…/test/scala/unit/kafka/server/ReplicaManagerTest.scala5199 new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition0.partition()),CODE
CRITICAL…/test/scala/unit/kafka/server/ReplicaManagerTest.scala5200 new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition1.partition())CODE
CRITICAL…/test/scala/unit/kafka/server/ReplicaManagerTest.scala5245 new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition0.partition()),CODE
CRITICAL…/test/scala/unit/kafka/server/ReplicaManagerTest.scala5246 new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition1.partition())CODE
CRITICAL⚡…/unit/kafka/controller/ControllerIntegrationTest.scala1591 assertEquals(topicIdAfterCreate, servers.head.kafkaController.controllerContext.topicIds.get(tp.topic),CODE
CRITICAL⚡…/unit/kafka/controller/ControllerIntegrationTest.scala1597 assertEquals(topicIdAfterCreate, servers.head.kafkaController.controllerContext.topicIds.get(tp.topic),CODE
CRITICAL⚡…/unit/kafka/controller/ControllerIntegrationTest.scala1601 TestUtils.waitUntilTrue(() => servers.head.kafkaController.controllerContext.topicIds.get(tp.topic).isEmpty,CODE
CRITICAL⚡…/unit/kafka/controller/ControllerIntegrationTest.scala1617 assertEquals(topicIdAfterCreate, servers.head.kafkaController.controllerContext.topicIds.get(tp.topic),CODE
CRITICAL⚡…/unit/kafka/controller/ControllerIntegrationTest.scala1623 assertEquals(topicIdAfterCreate, servers.head.kafkaController.controllerContext.topicIds.get(tp.topic),CODE
CRITICAL⚡…/unit/kafka/controller/ControllerIntegrationTest.scala1627 TestUtils.waitUntilTrue(() => !servers.head.kafkaController.controllerContext.allTopics.contains(tp.topic),CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1722 TestUtils.waitUntilTrue(() => !servers.head.kafkaController.controllerContext.allTopics.contains(tp.topic),CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1777 TestUtils.waitUntilTrue(() => !servers.head.kafkaController.controllerContext.allTopics.contains(tp.topic),CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1794 val id = servers.head.kafkaController.controllerContext.topicIds.get(tp.topic)CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1807 val topicIdOpt = servers.head.kafkaController.controllerContext.topicIds.get(tp.topic)CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1809 val topicNameOpt = servers.head.kafkaController.controllerContext.topicNames.get(topicId)CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1849 TestUtils.waitUntilTrue(() => !servers.head.kafkaController.controllerContext.topicNames.contains(topicId),CODE
CRITICAL…/unit/kafka/controller/ControllerIntegrationTest.scala1851 assertEquals(None, servers.head.kafkaController.controllerContext.topicIds.get(tp.topic))CODE
CRITICAL…t/scala/unit/kafka/log/LogCleanerIntegrationTest.scala60 val partitionFile = log.logSegments.asScala.last.log.file()CODE
CRITICALcore/src/test/scala/unit/kafka/log/LogCleanerTest.scala1752 log.logSegments.asScala.head.log.renameTo(new File(Utils.replaceSuffix(log.logSegments.asScala.head.log.file.getPathCODE
CRITICALcore/src/test/scala/unit/kafka/log/LogCleanerTest.scala1807 log.logSegments.asScala.head.timeIndex.file.renameTo(new File(Utils.replaceSuffix(log.logSegments.asScala.head.timeICODE
CRITICALcore/src/test/scala/unit/kafka/log/UnifiedLogTest.scala2673 val segmentLastOffsetOpt = segmentFetchInfo.records.records.asScala.lastOption.map(_.offset)CODE
CRITICALcore/src/test/scala/unit/kafka/log/LogManagerTest.scala624 val indexFilesOnDiskBeforeDelete = activeSegment.log.file.getParentFile.listFiles.filter(_.getName.endsWith("index")CODE
CRITICAL…/integration/kafka/zk/ZkMigrationIntegrationTest.scala1004 val brokerEpoch = zkClusterInstance.getUnderlying.brokers.head.replicaManager.brokerEpochSupplier.apply()CODE
CRITICAL…on/kafka/server/DynamicBrokerReconfigurationTest.scala895 val metricsFromOldTests = KafkaYammerMetrics.defaultRegistry.allMetrics.keySet.asScala.filter(isProcessorMetric)CODE
CRITICAL…on/kafka/server/DynamicBrokerReconfigurationTest.scala1186 assertEquals(2, broker.config.dynamicConfig.reconfigurables.asScala.count(r => r.isInstanceOf[DataPlaneAcceptor]))CODE
CRITICAL…on/kafka/server/DynamicBrokerReconfigurationTest.scala1189 def acceptors: Seq[DataPlaneAcceptor] = broker.config.dynamicConfig.reconfigurables.asScala.filter(_.isInstanceOf[DaCODE
CRITICAL…on/kafka/server/DynamicBrokerReconfigurationTest.scala1388 server.socketServer.metrics.metrics.keySet.asScala.exists(_.tags.get("listener") == listenerName)CODE
CRITICAL…on/kafka/server/DynamicBrokerReconfigurationTest.scala1664 Thread.getAllStackTraces.keySet.asScala.toList.map(_.getName)CODE
66 more matches not shown…
Over-Commented Block830 hits · 823 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWautomq_release.py1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWreviewers.py1#!/usr/bin/env python3COMMENT
LOWkafka-merge-pr.py1#!/usr/bin/env pythonCOMMENT
LOW…est/resources/common/message/SimpleExampleMessage.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…st/resources/common/message/NullableStructMessage.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…test/resources/common/message/SimpleArraysMessage.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…est/resources/common/message/SimpleRecordsMessage.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…l/CommonNameLoggingTrustManagerFactoryWrapperTest.java81 // Self-signedCOMMENT
LOW…ts/src/main/resources/common/message/VoteResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ces/common/message/DescribeDelegationTokenRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…es/common/message/DescribeTopicPartitionsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…esources/common/message/BrokerRegistrationRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ain/resources/common/message/DeleteRecordsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ources/common/message/AllocateProducerIdsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…rces/common/message/CreateDelegationTokenResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…sources/common/message/ShareGroupDescribeResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…src/main/resources/common/message/MetadataRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…src/main/resources/common/message/MetadataRequest.json21 "validVersions": "0-12",COMMENT
LOW…mon/message/AutomqPreparePartitionHandoffResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…esources/common/message/GetOpeningStreamsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ces/common/message/ControllerRegistrationResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…urces/common/message/AssignReplicasToDirsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/main/resources/common/message/ShareFetchResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/main/resources/common/message/ShareFetchResponse.json21 "flexibleVersions": "0+",COMMENT
LOW…/resources/common/message/ShareAcknowledgeRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…c/main/resources/common/message/HeartbeatResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/main/resources/common/message/StopReplicaRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/src/main/resources/common/message/ProduceRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/src/main/resources/common/message/ProduceRequest.json21 // Version 1 and 2 are the same as version 0.COMMENT
LOW…in/resources/common/message/DeleteStreamsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…main/resources/common/message/DeleteGroupsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…in/resources/common/message/GetNextNodeIdResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…urces/common/message/WriteShareGroupStateResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ces/common/message/DescribeTopicPartitionsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…s/src/main/resources/common/message/EndTxnRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…resources/common/message/AlterClientQuotasRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…in/resources/common/message/UpdateMetadataRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…in/resources/common/message/UpdateMetadataRequest.json21 // Version 1 allows specifying multiple endpoints for each broker.COMMENT
LOW…mmon/message/AutomqPreparePartitionHandoffRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…rces/common/message/DeleteShareGroupStateResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…resources/common/message/UnregisterBrokerResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/resources/common/message/AutomqZoneRouterRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…n/resources/common/message/DescribeGroupsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/main/resources/common/message/LeaveGroupResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…rc/main/resources/common/message/DeleteKVsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/src/main/resources/common/message/PutKVsResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ommon/message/DescribeUserScramCredentialsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…n/resources/common/message/FindCoordinatorRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…n/resources/common/message/FindCoordinatorRequest.json21 // Version 1 adds KeyType.COMMENT
LOW…esources/common/message/AddPartitionsToTxnRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…esources/common/message/ShareGroupDescribeRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/resources/common/message/DescribeClusterResponse.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…esources/common/message/CommitStreamObjectRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ain/resources/common/message/SaslHandshakeRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…n/resources/common/message/DescribeLogDirsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ts/src/main/resources/common/message/FetchRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ts/src/main/resources/common/message/FetchRequest.json21 //COMMENT
LOW…ts/src/main/resources/common/message/FetchRequest.json41 // Version 8 is the same as version 7.COMMENT
LOW…s/common/message/GetTelemetrySubscriptionsRequest.json1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
770 more matches not shown…
Hyper-Verbose Identifiers294 hits · 300 pts
SeverityFileLineSnippetContext
LOW…fka/clients/producer/internals/TransactionManager.java1174 abstract class TxnRequestHandler implements RequestCompletionHandler {CODE
LOW…ka/clients/consumer/internals/ConsumerCoordinator.java1305 private class OffsetCommitResponseHandler extends CoordinatorResponseHandler<OffsetCommitResponse, Void> {CODE
LOW…ka/clients/consumer/internals/ConsumerCoordinator.java1449 private class OffsetFetchResponseHandler extends CoordinatorResponseHandler<OffsetFetchResponse, Map<TopicPartition,CODE
LOW…ka/clients/consumer/internals/AbstractCoordinator.java632 private class JoinGroupResponseHandler extends CoordinatorResponseHandler<JoinGroupResponse, ByteBuffer> {CODE
LOW…ka/clients/consumer/internals/AbstractCoordinator.java812 private class SyncGroupResponseHandler extends CoordinatorResponseHandler<SyncGroupResponse, ByteBuffer> {CODE
LOW…ka/clients/consumer/internals/AbstractCoordinator.java914 private class FindCoordinatorResponseHandler extends RequestFutureAdapter<ClientResponse, Void> {CODE
LOW…ka/clients/consumer/internals/AbstractCoordinator.java1194 private class LeaveGroupResponseHandler extends CoordinatorResponseHandler<LeaveGroupResponse, Void> {CODE
LOW…ka/clients/consumer/internals/AbstractCoordinator.java1232 private class HeartbeatResponseHandler extends CoordinatorResponseHandler<HeartbeatResponse, Void> {CODE
LOW…ka/clients/consumer/internals/AbstractCoordinator.java1286 protected abstract class CoordinatorResponseHandler<R, T> extends RequestFutureAdapter<ClientResponse, T> {CODE
LOWdocker/extract_docker_official_image_artifact.py40def set_executable_permissions(directory):CODE
LOWdocker/common.py34def build_docker_image_runner(command, image_type):CODE
LOWdocker/prepare_docker_official_image_source.py42def remove_args_and_hardcode_values(file_path, kafka_version, kafka_url):CODE
LOWdocker/docker_official_image_build_test.py45def build_docker_official_image(image, tag, kafka_version, image_type):CODE
LOW…a/coordinator/AbstractCoordinatorConcurrencyTest.scala255 def getOrCreateLogs(): mutable.Map[TopicPartition, (UnifiedLog, Long)] = {CODE
LOW…nit/kafka/coordinator/group/GroupCoordinatorTest.scala4237 private def offsetAndMetadata(offset: Long): OffsetAndMetadata = {CODE
LOW…a/unit/kafka/coordinator/group/GroupMetadataTest.scala861 private def offsetAndMetadata(offset: Long, timestamp: Long = Time.SYSTEM.milliseconds()): OffsetAndMetadata = {CODE
LOW…er/handlers/DescribeTopicPartitionsRequestHandler.java46public class DescribeTopicPartitionsRequestHandler {CODE
LOWcore/src/main/scala/kafka/zk/KafkaZkClient.scala484 def setOrCreateEntityConfigs(rootEntityType: String, sanitizedEntityName: String, config: Properties): Unit = {CODE
LOWcore/src/main/scala/kafka/zk/KafkaZkClient.scala1070 def setOrCreatePartitionReassignment(reassignment: collection.Map[TopicPartition, Seq[Int]], expectedControllerEpochZkCODE
LOWcore/src/main/scala/kafka/zk/KafkaZkClient.scala1567 def setOrCreateDelegationToken(token: DelegationToken): Unit = {CODE
LOWcore/src/main/scala/kafka/zk/KafkaZkClient.scala1709 def setOrCreateConsumerOffset(group: String, topicPartition: TopicPartition, offset: Long): Unit = {CODE
LOWcore/src/main/scala/kafka/zk/KafkaZkClient.scala1732 def getOrCreateMigrationState(initialState: ZkMigrationLeadershipState): ZkMigrationLeadershipState = {CODE
LOWcore/src/main/scala/kafka/zk/ZkMigrationClient.scala107 override def getOrCreateMigrationRecoveryState(CODE
LOW…rc/main/scala/kafka/tools/TestRaftRequestHandler.scala33class TestRaftRequestHandler(CODE
LOW…/coordinator/transaction/TransactionStateManager.scala371 private def getAndMaybeAddTransactionState(transactionalId: String,CODE
LOW…n/scala/kafka/coordinator/group/GroupCoordinator.scala1299 private def setAndPropagateAssignment(group: GroupMetadata, assignment: Map[String, Array[Byte]]): Unit = {CODE
LOW…n/scala/kafka/coordinator/group/GroupCoordinator.scala1305 private def resetAndPropagateAssignmentError(group: GroupMetadata, error: Errors): Unit = {CODE
LOW…ala/kafka/coordinator/group/GroupMetadataManager.scala231 def getOrMaybeCreateGroup(groupId: String, createIfNotExist: Boolean): Option[GroupMetadata] = {CODE
LOWcore/src/main/scala/kafka/network/SocketServer.scala1854 private def getOrCreateConnectionRateQuotaSensor(quotaLimit: Int, connectionQuotaEntity: ConnectionQuotaEntity): SensoCODE
LOWcore/src/main/scala/kafka/network/RequestChannel.scala793 def getOrCreateMeter(): Meter = {CODE
LOW…e/src/main/scala/kafka/server/ClientQuotaManager.scala345 def getOrCreateQuotaSensors(session: Session, clientId: String): ClientSensors = {CODE
LOW…e/src/main/scala/kafka/server/ClientQuotaManager.scala398 protected def getOrCreateSensor(sensorName: String, expirationTimeSeconds: Long, registerMetrics: Sensor => Unit): SenCODE
LOWcore/src/main/scala/kafka/server/ReplicaManager.scala2710 private[kafka] def getOrCreatePartition(tp: TopicPartition,CODE
LOW…re/src/main/scala/kafka/server/ForwardingManager.scala119 class ForwardingResponseHandler extends ControllerRequestCompletionHandler {CODE
LOWcore/src/main/scala/kafka/server/SensorAccess.scala31 def getOrCreate(sensorName: String, expirationTime: Long, registerMetrics: Sensor => Unit): Sensor = {CODE
LOW…/src/main/scala/kafka/server/KafkaRequestHandler.scala93class KafkaRequestHandler(CODE
LOW…c/main/scala/kafka/server/BrokerLifecycleManager.scala415 private class BrokerRegistrationResponseHandler extends ControllerRequestCompletionHandler {CODE
LOW…c/main/scala/kafka/server/BrokerLifecycleManager.scala487 private class BrokerHeartbeatResponseHandler(currentOfflineDirs: Iterable[Uuid]) extends ControllerRequestCompletionHaCODE
LOWcore/src/main/scala/kafka/server/KafkaServer.scala755 private def getOrGenerateClusterId(zkClient: KafkaZkClient): String = {CODE
LOWcore/src/main/scala/kafka/server/KafkaServer.scala1130 private def getOrGenerateBrokerId(metaPropsEnsemble: MetaPropertiesEnsemble): Int = {CODE
LOW…rc/main/scala/kafka/server/AbstractFetcherThread.scala894 def getAndMaybePut(topicPartition: TopicPartition): FetcherLagMetrics = {CODE
LOWcore/src/main/scala/kafka/server/ConfigHandler.scala253 def getOrDefault(prop: String): Long = updatedDynamicBrokerConfigs get prop match {CODE
LOW…scala/kafka/server/ControllerRegistrationManager.scala238 private class RegistrationResponseHandler extends ControllerRequestCompletionHandler {CODE
LOW…ala/kafka/server/streamaspect/BrokerQuotaManager.scala260 private def getOrCreateQuotaSensors(quotaType: QuotaType): ClientSensors = {CODE
LOW…ala/kafka/server/streamaspect/BrokerQuotaManager.scala283 override def getOrCreateQuotaSensors(session: Session,CODE
LOW…/kafka/server/streamaspect/ElasticReplicaManager.scala1015 private[kafka] def getOrCreatePartitionV2(CODE
LOWcore/src/main/scala/kafka/utils/Pool.scala46 def getAndMaybePut(key: K): V = {CODE
LOWcore/src/main/scala/kafka/utils/Pool.scala61 def getAndMaybePut(key: K, createValue: => V): V =CODE
LOWcore/src/main/scala/kafka/raft/KafkaMetadataLog.scala109 private def handleAndConvertLogAppendInfo(appendInfo: internals.log.LogAppendInfo): LogAppendInfo = {CODE
LOWcore/src/main/scala/kafka/log/LogManager.scala1084 def getOrCreateLog(topicPartition: TopicPartition, isNew: Boolean = false, isFuture: Boolean = false,CODE
LOWtests/unit/directory_layout/check_project_paths.py37 def check_create_path_resolver_override(self):CODE
LOWtests/unit/directory_layout/check_project_paths.py49 def check_create_path_resolver_default(self):CODE
LOWtests/unit/directory_layout/check_project_paths.py63 def check_versioned_source_paths(self):CODE
LOWtests/unit/directory_layout/check_project_paths.py71 def check_node_or_version_helper(self):CODE
LOWtests/kafkatest/version.py65 def consumer_supports_bootstrap_server(self):CODE
LOW⚡tests/kafkatest/version.py80 def acl_command_supports_bootstrap_server(self):CODE
LOW⚡tests/kafkatest/version.py83 def topic_command_supports_bootstrap_server(self):CODE
LOW⚡tests/kafkatest/version.py86 def topic_command_supports_if_not_exists_with_bootstrap_server(self):CODE
LOW⚡tests/kafkatest/version.py89 def supports_tls_to_zookeeper(self):CODE
LOW⚡tests/kafkatest/version.py93 def reassign_partitions_command_supports_bootstrap_server(self):CODE
234 more matches not shown…
Cross-File Repetition35 hits · 175 pts
SeverityFileLineSnippetContext
HIGHtests/kafkatest/tests/verifiable_consumer_test.py0override this since we're adding services outside of the constructorSTRING
HIGHtests/kafkatest/tests/core/log_dir_failure_test.py0override this since we're adding services outside of the constructorSTRING
HIGHtests/kafkatest/tests/core/replication_test.py0override this since we're adding services outside of the constructorSTRING
HIGHtests/kafkatest/tests/client/quota_test.py0override this since we're adding services outside of the constructorSTRING
HIGHtests/kafkatest/tests/core/transactions_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGH…fkatest/tests/core/transactions_mixed_versions_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/security_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/produce_bench_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGH…fkatest/tests/core/replication_replica_failure_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/log_dir_failure_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/throttling_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/round_trip_fault_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/consume_bench_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/replication_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGH…s/kafkatest/tests/core/group_mode_transactions_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/reassign_partitions_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/transactions_upgrade_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGH…est/tests/client/client_compatibility_features_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/client/compression_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/client/quota_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGH…ts/client/client_compatibility_produce_consume_test.py0:type test_context: ducktape.tests.test.testcontextSTRING
HIGHtests/kafkatest/tests/core/log_dir_failure_test.py0discover node of requested type. for leader type, discovers leader for our topic and partition 0STRING
HIGHtests/kafkatest/tests/core/replication_test.py0discover node of requested type. for leader type, discovers leader for our topic and partition 0STRING
HIGH…/kafkatest/tests/streams/streams_broker_bounce_test.py0discover node of requested type. for leader type, discovers leader for our topic and partition 0STRING
HIGHtests/kafkatest/automq/s3_leakage_test.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/compaction_test.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/memory_occupancy_test.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/__init__.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/archive_e2e_test.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/automq_e2e_util.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/version_upgrade_test.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGHtests/kafkatest/automq/quota_test.py0copyright 2025, automq hk limited. licensed under apache-2.0.STRING
HIGH…sts/kafkatest/services/transactional_message_copier.py0try to parse a string as json. return none if not parseable.STRING
HIGHtests/kafkatest/services/verifiable_consumer.py0try to parse a string as json. return none if not parseable.STRING
HIGHtests/kafkatest/services/verifiable_producer.py0try to parse a string as json. return none if not parseable.STRING
Excessive Try-Catch Wrapping68 hits · 80 pts
SeverityFileLineSnippetContext
LOWkafka-merge-pr.py142 except Exception as error:CODE
LOWkafka-merge-pr.py202 except Exception as error:CODE
LOWkafka-merge-pr.py225 except Exception as error:CODE
LOWkafka-merge-pr.py236 except Exception as error:CODE
LOWkafka-merge-pr.py274 except Exception as error:CODE
MEDIUMkafka-merge-pr.py77def get_json(url):CODE
LOW⚡docker/test/docker_sanity_test.py179 except Exception as e:CODE
LOW⚡docker/test/docker_sanity_test.py184 except Exception as e:CODE
LOW⚡docker/test/docker_sanity_test.py189 except Exception as e:CODE
LOW⚡docker/test/docker_sanity_test.py194 except Exception as e:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py104 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py140 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py187 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py202 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py212 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py240 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py291 except Exception:CODE
MEDIUMtests/kafkatest/tests/core/automq_tabletopic_base.py100def _ok(self, url, expected_status):CODE
LOW…st/tests/core/automq_tabletopic_broker_restart_test.py50 except Exception as e:CODE
LOW⚡tests/kafkatest/tests/core/automq_remote_write_test.py109 except Exception:CODE
LOW⚡tests/kafkatest/tests/core/automq_remote_write_test.py123 except Exception as e:CODE
LOW⚡tests/kafkatest/tests/core/automq_remote_write_test.py186 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_remote_write_test.py94 except Exception as e:CODE
LOWtests/kafkatest/tests/core/automq_remote_write_test.py148 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_remote_write_test.py241 except Exception as e:CODE
LOWtests/kafkatest/tests/core/automq_remote_write_test.py294 except Exception as e:CODE
LOWtests/kafkatest/tests/core/automq_remote_write_test.py347 except Exception as e:CODE
LOW⚡tests/kafkatest/tests/core/automq_telemetry_test.py96 except Exception as e:CODE
LOW⚡tests/kafkatest/tests/core/automq_telemetry_test.py104 except Exception:CODE
LOWtests/kafkatest/tests/core/automq_telemetry_test.py154 except Exception:CODE
MEDIUMtests/kafkatest/tests/core/automq_telemetry_test.py99def _metrics_ready(self, node, port):CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py124 except Exception:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py149 except Exception:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py187 except Exception:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py216 except Exception as e:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py291 except Exception as e:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py357 except Exception as e:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py420 except Exception as e:CODE
LOW…s/kafkatest/tests/connect/connect_remote_write_test.py468 except Exception as e:CODE
LOW⚡…ts/kafkatest/tests/connect/connect_metrics_log_test.py461 except Exception as e:CODE
LOW⚡…ts/kafkatest/tests/connect/connect_metrics_log_test.py479 except Exception as e:CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py147 except Exception as e:CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py339 except Exception as e:CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py345 except Exception as e:CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py378 except Exception as e:CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py685 except Exception as e:CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py763 except Exception as e:CODE
LOW…est/tests/client/client_compatibility_features_test.py62 except Exception as e:CODE
LOW…est/tests/client/client_compatibility_features_test.py115 except Exception as e:CODE
LOWtests/kafkatest/services/streams.py233 except Exception as exception:CODE
MEDIUMtests/kafkatest/services/streams.py229def pids(self, node):CODE
LOWtests/kafkatest/services/monitor/http.py209 except Exception as e:CODE
MEDIUMtests/kafkatest/services/monitor/http.py96def stop(self):CODE
MEDIUMtests/kafkatest/services/kafka/kafka.py669def start(self, add_principals="", nodes_to_skip=[], timeout_sec=60, **kwargs):CODE
LOWtests/kafkatest/services/kafka/kafka.py760 except Exception:CODE
LOWtests/kafkatest/services/kafka/kafka.py765 except Exception:CODE
LOWtests/kafkatest/services/kafka/kafka.py1050 except Exception:CODE
LOW…s/kafkatest/services/performance/automq_performance.py182 except Exception:CODE
LOW⚡…s/kafkatest/services/performance/automq_performance.py210 except Exception:CODE
LOW⚡…s/kafkatest/services/performance/automq_performance.py212 except Exception:CODE
8 more matches not shown…
Unused Imports81 hits · 78 pts
SeverityFileLineSnippetContext
LOWdocker/generate_kafka_pr_template.py36CODE
LOWtests/report_e2e_results.py21CODE
LOW…ts/kafkatest/sanity_checks/test_verifiable_producer.py26CODE
LOW…ts/kafkatest/sanity_checks/test_verifiable_producer.py26CODE
LOW…s/kafkatest/sanity_checks/test_performance_services.py16CODE
LOW…s/kafkatest/sanity_checks/test_performance_services.py24CODE
LOW…s/kafkatest/sanity_checks/test_performance_services.py24CODE
LOW…fkatest/tests/core/transactions_mixed_versions_test.py20CODE
LOW…fkatest/tests/core/transactions_mixed_versions_test.py23CODE
LOW…fkatest/tests/core/transactions_mixed_versions_test.py31CODE
LOW…fkatest/tests/core/replication_replica_failure_test.py20CODE
LOW…fkatest/tests/core/replication_replica_failure_test.py25CODE
LOW…fkatest/tests/core/replication_replica_failure_test.py27CODE
LOW…fkatest/tests/core/replication_replica_failure_test.py30CODE
LOW…fkatest/tests/core/replication_replica_failure_test.py31CODE
LOWtests/kafkatest/tests/core/replication_test.py19CODE
LOW…/tests/core/automq_tabletopic_schema_evolution_test.py17CODE
LOW…atest/tests/core/compatibility_test_new_broker_test.py13CODE
LOW…atest/tests/core/compatibility_test_new_broker_test.py24CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py20CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py20CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py21CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py21CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py22CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py24CODE
LOW…kafkatest/tests/core/controller_mutation_quota_test.py27CODE
LOWtests/kafkatest/tests/core/upgrade_test.py27CODE
LOWtests/kafkatest/tests/core/snapshot_test.py16CODE
LOWtests/kafkatest/tests/core/kraft_upgrade_test.py16CODE
LOWtests/kafkatest/tests/core/transactions_upgrade_test.py20CODE
LOWtests/kafkatest/tests/core/transactions_upgrade_test.py32CODE
LOWtests/kafkatest/tests/core/automq_telemetry_test.py20CODE
LOWtests/kafkatest/tests/streams/utils/__init__.py16CODE
LOWtests/kafkatest/tests/streams/utils/__init__.py16CODE
LOWtests/kafkatest/tests/streams/utils/__init__.py16CODE
LOWtests/kafkatest/tests/streams/utils/__init__.py16CODE
LOWtests/kafkatest/tests/streams/utils/__init__.py16CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py19CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py19CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py22CODE
LOW…ts/kafkatest/tests/connect/connect_az_metadata_test.py16CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py27CODE
LOW…afkatest/tests/client/consumer_rolling_upgrade_test.py21CODE
LOWtests/kafkatest/utils/__init__.py16CODE
LOWtests/kafkatest/utils/__init__.py16CODE
LOWtests/kafkatest/utils/__init__.py16CODE
LOWtests/kafkatest/utils/__init__.py16CODE
LOWtests/kafkatest/utils/__init__.py16CODE
LOWtests/kafkatest/utils/__init__.py16CODE
21 more matches not shown…
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHtests/kafkatest/tests/core/security_test.py206except TimeoutError:CODE
HIGHtests/kafkatest/tests/core/security_test.py137except TimeoutError:CODE
HIGHtests/kafkatest/tests/core/automq_tabletopic_base.py291except Exception:CODE
HIGHtests/kafkatest/tests/core/automq_tabletopic_base.py140except Exception:CODE
HIGHtests/kafkatest/tests/core/automq_tabletopic_base.py240except Exception:CODE
HIGHtests/kafkatest/tests/core/automq_remote_write_test.py186except Exception:CODE
HIGH…s/kafkatest/tests/connect/connect_remote_write_test.py187except Exception:CODE
HIGHtests/kafkatest/tests/connect/connect_rest_test.py133except ConnectRestError:CODE
HIGHtests/kafkatest/services/kafka/kafka.py760except Exception:CODE
HIGHtests/kafkatest/services/kafka/kafka.py765except Exception:CODE
HIGH…kafkatest/services/performance/producer_performance.py151except:CODE
HIGH…s/kafkatest/services/performance/automq_performance.py182except Exception:CODE
HIGH…s/kafkatest/services/performance/automq_performance.py212except Exception:CODE
HIGH…s/kafkatest/services/performance/automq_performance.py225except Exception:CODE
Verbosity Indicators40 hits · 69 pts
SeverityFileLineSnippetContext
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1667 // Step 4: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1676 // Step 5: receive an empty assignment, which means we should call revokeCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1684 // Step 6: revoke partitionsCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1694 // Step 7: assign partitions should still be called, even though it's emptyCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1704 // Step 8: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java2047 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java2056 // Step 3: invoke the callbackCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1641 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1656 // Step 3: assign partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1716 // Step 1: set up mocksCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1732 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1747 // Step 3: revoke partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1759 // Step 4: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1770 // Step 1: set up mocksCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1785 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1800 // Step 3: revoke partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1811 // Step 4: assign partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1823 // Step 5: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java2032 // Step 1: set up mocksCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java2067 // Step 4: Receive ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW…c/test/scala/unit/kafka/network/SocketServerTest.scala1593 // Step 1: Send client requests.COMMENT
LOW⚡…c/test/scala/unit/kafka/network/SocketServerTest.scala1604 // Step 2: Close the client-side socket and the proxy socket to the server, triggering close notification in theCOMMENT
LOW⚡…c/test/scala/unit/kafka/network/SocketServerTest.scala1614 // Step 3: Process the first request. Verify that the channel is not removed since the channelCOMMENT
LOW⚡…c/test/scala/unit/kafka/network/SocketServerTest.scala1621 // Step 4: Process buffered data. if `responseRequiredIndex>=0`, the channel should be failed and removed whenCOMMENT
LOW…che/kafka/coordinator/group/OffsetMetadataManager.java501 // Step 1: If force and group is non-empty, fence all members.COMMENT
LOW…/streams/integration/InternalTopicIntegrationTest.java190 // Step 1: Configure and start a simple word count topologyCOMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java203 // Step 2: Produce some input data to the input topic.COMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java208 // Step 3: Verify the state changelog topics are compactCOMMENT
LOW…/streams/integration/InternalTopicIntegrationTest.java227 // Step 1: Configure and start a simple word count topologyCOMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java243 // Step 2: Produce some input data to the input topic.COMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java248 // Step 3: Verify the state changelog topics are compactCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py127 # Step 1: run migration toolCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py129 # Step 2: restart brokers with zookeeper.set.acl=true and acls (with TLS but no SASL)COMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py137 # Step 1: remove ACLs created previouslyCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py141 # Step 2: enable ZooKeeper SASL authentication, but don't take advantage of it in Kafka yetCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py148 # Step 3: run migration toolCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py150 # Step 4: restart brokers with zookeeper.set.acl=true and acls (with both TLS and SASL)COMMENT
LOW⚡…sts/kafkatest/tests/core/automq_tabletopic_e2e_test.py77 # Step 1: Produce Avro messages via AutoMQPerformanceService (random Avro if no values-file)COMMENT
LOW⚡…sts/kafkatest/tests/core/automq_tabletopic_e2e_test.py80 # Step 2: Verify table exists and contains expected data (polling for commit interval)COMMENT
LOW…/org/apache/kafka/connect/runtime/rest/RestServer.java241 // TODO: we need to check if these listeners are same as 'listeners'COMMENT
Structural Annotation Overuse39 hits · 68 pts
SeverityFileLineSnippetContext
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1667 // Step 4: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1676 // Step 5: receive an empty assignment, which means we should call revokeCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1684 // Step 6: revoke partitionsCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1694 // Step 7: assign partitions should still be called, even though it's emptyCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java1704 // Step 8: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java2047 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW⚡…ents/consumer/internals/MembershipManagerImplTest.java2056 // Step 3: invoke the callbackCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1641 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1656 // Step 3: assign partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1716 // Step 1: set up mocksCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1732 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1747 // Step 3: revoke partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1759 // Step 4: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1770 // Step 1: set up mocksCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1785 // Step 2: put the state machine into the appropriate... stateCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1800 // Step 3: revoke partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1811 // Step 4: assign partitionsCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java1823 // Step 5: Send ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java2032 // Step 1: set up mocksCOMMENT
LOW…ents/consumer/internals/MembershipManagerImplTest.java2067 // Step 4: Receive ack and make sure we're done and our listener was called appropriatelyCOMMENT
LOW…c/test/scala/unit/kafka/network/SocketServerTest.scala1593 // Step 1: Send client requests.COMMENT
LOW⚡…c/test/scala/unit/kafka/network/SocketServerTest.scala1604 // Step 2: Close the client-side socket and the proxy socket to the server, triggering close notification in theCOMMENT
LOW⚡…c/test/scala/unit/kafka/network/SocketServerTest.scala1614 // Step 3: Process the first request. Verify that the channel is not removed since the channelCOMMENT
LOW⚡…c/test/scala/unit/kafka/network/SocketServerTest.scala1621 // Step 4: Process buffered data. if `responseRequiredIndex>=0`, the channel should be failed and removed whenCOMMENT
LOW…che/kafka/coordinator/group/OffsetMetadataManager.java501 // Step 1: If force and group is non-empty, fence all members.COMMENT
LOW…/streams/integration/InternalTopicIntegrationTest.java190 // Step 1: Configure and start a simple word count topologyCOMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java203 // Step 2: Produce some input data to the input topic.COMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java208 // Step 3: Verify the state changelog topics are compactCOMMENT
LOW…/streams/integration/InternalTopicIntegrationTest.java227 // Step 1: Configure and start a simple word count topologyCOMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java243 // Step 2: Produce some input data to the input topic.COMMENT
LOW⚡…/streams/integration/InternalTopicIntegrationTest.java248 // Step 3: Verify the state changelog topics are compactCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py127 # Step 1: run migration toolCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py129 # Step 2: restart brokers with zookeeper.set.acl=true and acls (with TLS but no SASL)COMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py137 # Step 1: remove ACLs created previouslyCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py141 # Step 2: enable ZooKeeper SASL authentication, but don't take advantage of it in Kafka yetCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py148 # Step 3: run migration toolCOMMENT
LOW⚡tests/kafkatest/tests/core/zookeeper_tls_test.py150 # Step 4: restart brokers with zookeeper.set.acl=true and acls (with both TLS and SASL)COMMENT
LOW⚡…sts/kafkatest/tests/core/automq_tabletopic_e2e_test.py77 # Step 1: Produce Avro messages via AutoMQPerformanceService (random Avro if no values-file)COMMENT
LOW⚡…sts/kafkatest/tests/core/automq_tabletopic_e2e_test.py80 # Step 2: Verify table exists and contains expected data (polling for commit interval)COMMENT
AI Slop Vocabulary18 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUM…a/org/apache/kafka/clients/producer/KafkaProducer.java739 * {@link KafkaConsumer#groupMetadata()} to leverage consumer group metadata. This will provideCOMMENT
LOW…a/org/apache/kafka/clients/consumer/KafkaConsumer.java294 * To use this mode, instead of subscribing to the topic using {@link #subscribe(Collection) subscribe}, you just callCOMMENT
LOW…a/org/apache/kafka/clients/consumer/KafkaConsumer.java627 * partitions using {@link #assign(Collection)} then this will simply return the same partitions thatCOMMENT
LOW…org/apache/kafka/common/internals/KafkaFutureImpl.java65 // function. CompletableFuture#thenApply will just return ExecutionException wrapping theCOMMENT
MEDIUM…n/scala/kafka/coordinator/group/GroupCoordinator.scala1451 // skip running the assignor based on the `SkipAssignment` field. We leverageCOMMENT
MEDIUM…/src/main/scala/kafka/controller/KafkaController.scala2722 // handleDeletion(). This approach is more robust as it doesn't depend on the watcher being re-registered afterCOMMENT
LOWvagrant/base.sh170# VMs, we can just create it if it doesn't exist and use it like we'd useCOMMENT
MEDIUM…/streams/processor/internals/StoreChangelogReader.java131 // NOTE we do not book keep the current offset since we leverage state manager as its source of truthCOMMENT
LOWtests/kafkatest/tests/core/transactions_test.py243 # To check ordering, we simply create input and output topicsCOMMENT
MEDIUMtests/kafkatest/tests/core/reassign_partitions_test.py147 # latter is more robust.COMMENT
MEDIUM…/kafkatest/tests/streams/streams_broker_bounce_test.py172 # Start test harnessCOMMENT
MEDIUM…ts/kafkatest/tests/connect/connect_metrics_log_test.py214 # Print ALL metrics for comprehensive debuggingCOMMENT
MEDIUM⚡…ts/kafkatest/tests/connect/connect_az_metadata_test.py195 # This is more robust than trying to parse the exact table formatSTRING
MEDIUMtests/kafkatest/services/monitor/jmx.py75 # JmxTool is not particularly robust to slow-starting processes. In order to ensure JmxTool doesn't fail if theCOMMENT
MEDIUMdocs/streams/developer-guide/processor-api.html232 It&#8217;s common practice to leverage an existing store type via the <code class="docutils literal"CODE
MEDIUMdocs/streams/developer-guide/datatypes.html82 <p>If you want to override serdes selectively, i.e., keep the defaults for some fields, then don&#8217;t specify tCODE
MEDIUMdocs/streams/developer-guide/datatypes.html108 <p>This artifact provides the following serde implementations under the package <a class="reference external" hrCODE
MEDIUM…he/kafka/connect/runtime/WorkerTransactionContext.java83 // Essentially, instead of telling the task that it screwed up and trusting it to do the right thing, we rat on COMMENT
Self-Referential Comments14 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMdocker/generate_kafka_pr_template.py69# This file is generated via https://github.com/apache/kafka/blob/{file_commit(os.path.join(current_dir, self))}/docker/COMMENT
MEDIUMdocker/telemetry/install.sh15# Define the function to stop the containersCOMMENT
MEDIUMtests/setup.cfg18# This file defines naming convention and root search directory for autodiscovery ofCOMMENT
MEDIUMtests/kafkatest/tests/produce_consume_validate.py22 """This class provides a shared template for tests which follow the common pattern of:STRING
MEDIUMtests/kafkatest/tests/end_to_end.py27 """This class provides a shared template for tests which follow the common pattern of:STRING
MEDIUMtests/kafkatest/tests/core/snapshot_test.py132 # Create a new topicCOMMENT
MEDIUMtests/kafkatest/tests/core/snapshot_test.py203 # Create a topic where the affected broker must be the leaderCOMMENT
MEDIUM…ts/kafkatest/tests/connect/connect_az_metadata_test.py116 # Create a simple mock AzMetadataProvider implementation directly in the Connect runtime classpathCOMMENT
MEDIUM…ts/kafkatest/tests/connect/connect_az_metadata_test.py158 # Create the package directory structure in the runtime classesSTRING
MEDIUM…ts/kafkatest/tests/connect/connect_az_metadata_test.py169 # Create the ServiceLoader service definition in the runtime classesSTRING
MEDIUMtests/kafkatest/services/trogdor/trogdor.py133 # Create the configuration file on the node.COMMENT
MEDIUMdocs/ops.html820<pre><code class="language-text"># Defining a custom separatorCODE
MEDIUM…tainer/bitnami/prebuildfs/opt/bitnami/scripts/libos.sh41# Create a group in the system if it does not exist alreadyCOMMENT
MEDIUM…tainer/bitnami/prebuildfs/opt/bitnami/scripts/libos.sh89# Create an user in the system if it does not exist alreadyCOMMENT
Redundant / Tautological Comments22 hits · 33 pts
SeverityFileLineSnippetContext
LOWdocker/telemetry/install.sh5 # Set DATA_PATH to the current absolute pathCOMMENT
LOWtests/kafkatest/tests/core/snapshot_test.py118 # Check if the first log segment is cleaned upCOMMENT
LOW⚡…ts/kafkatest/tests/connect/connect_metrics_log_test.py469 # Check if bucket exists but is emptyCOMMENT
LOW⚡…ts/kafkatest/tests/connect/connect_az_metadata_test.py203 # Check if any line contains the expected AZ metadataSTRING
LOWtests/kafkatest/services/kafka/kafka.py1956 # Check if the cluster is in a state where we should not perform this operationCOMMENT
LOW…ntainer/bitnami/rootfs/opt/bitnami/scripts/libkafka.sh46 # Check if the value was set beforeCOMMENT
LOW…ntainer/bitnami/rootfs/opt/bitnami/scripts/libkafka.sh1133# Check if Kafka is runningCOMMENT
LOW…ntainer/bitnami/rootfs/opt/bitnami/scripts/libkafka.sh1152# Check if Kafka is runningCOMMENT
LOW…r/bitnami/prebuildfs/opt/bitnami/scripts/libservice.sh33# Check if a provided PID corresponds to a running serviceCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libpersistence.sh108# Check if an application directory was already persistedCOMMENT
LOW…ainer/bitnami/prebuildfs/opt/bitnami/scripts/libnet.sh72 # Check if the first IP address is IPv6 to add bracketsCOMMENT
LOW…ainer/bitnami/prebuildfs/opt/bitnami/scripts/libnet.sh81# Check if the provided argument is a resolved hostnameCOMMENT
LOW…tainer/bitnami/prebuildfs/opt/bitnami/scripts/libos.sh17# Check if an user exists in the systemCOMMENT
LOW…tainer/bitnami/prebuildfs/opt/bitnami/scripts/libos.sh29# Check if a group exists in the systemCOMMENT
LOW…tainer/bitnami/prebuildfs/opt/bitnami/scripts/libos.sh178# Check if the script is currently running as rootCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh15# Check if the provided argument is an integerCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh31# Check if the provided argument is a positive integerCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh47# Check if the provided argument is a boolean or is the string 'yes/true'COMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh65# Check if the provided argument is a boolean yes/no valueCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh81# Check if the provided argument is a boolean true/false valueCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh97# Check if the provided argument is a boolean 1/0 valueCOMMENT
LOW…tnami/prebuildfs/opt/bitnami/scripts/libvalidations.sh113# Check if the provided argument is an empty string or not definedCOMMENT
Cross-Language Confusion6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/kafkatest/tests/core/automq_remote_write_test.py170 which_py = "PYBIN=$(command -v python3 || command -v python || echo python3)"CODE
HIGH…s/kafkatest/tests/connect/connect_remote_write_test.py171 which_py = "PYBIN=$(command -v python3 || command -v python || echo python3)"CODE
HIGH…ts/kafkatest/tests/connect/connect_az_metadata_test.py134 if (az == null || az.isBlank()) {{CODE
HIGHtests/kafkatest/services/kafka/kafka.py1505 cmd += "&& sleep 1 && rm -f %s" % json_fileCODE
HIGHtests/kafkatest/services/kafka/kafka.py1547 cmd += " && sleep 1 && rm -f %s" % json_fileCODE
HIGH…s/kafkatest/services/performance/automq_performance.py174 f"cp -f {result_file} {AutoMQPerformanceService.PERSISTENT_ROOT}/result.json || true",CODE
Decorative Section Separators8 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/kafkatest/tests/core/automq_remote_write_test.py193 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kafkatest/tests/core/automq_remote_write_test.py195 # ------------------------------------------------------------------COMMENT
MEDIUMtests/kafkatest/tests/core/automq_remote_write_test.py39 # ------------------------------------------------------------------COMMENT
MEDIUMtests/kafkatest/tests/core/automq_remote_write_test.py41 # ------------------------------------------------------------------COMMENT
MEDIUMtests/kafkatest/tests/core/automq_telemetry_test.py41 # ------------------------------------------------------------------COMMENT
MEDIUMtests/kafkatest/tests/core/automq_telemetry_test.py43 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kafkatest/tests/core/automq_telemetry_test.py169 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kafkatest/tests/core/automq_telemetry_test.py171 # ------------------------------------------------------------------COMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH…c/main/java/com/automq/stream/s3/wal/util/WALUtil.java131 // the file exists but not the same size as requestedCOMMENT
HIGH…g/apache/kafka/connect/runtime/WorkerSinkTaskTest.java250 // Offset commit as requested when pausing; No records returned by consumer.poll()COMMENT
HIGH…g/apache/kafka/connect/runtime/WorkerSinkTaskTest.java294 // Offset commit as requested when pausing; No records returned by consumer.poll()COMMENT
Slop Phrases10 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUM…a/org/apache/kafka/clients/producer/KafkaProducer.java103 * Here is a simple example of using the producer to send records with strings containing sequential numbers as the key/COMMENT
MEDIUM…rc/main/java/org/apache/kafka/clients/admin/Admin.java75 * Here is a simple example of using an Admin client instance to create a new topic:COMMENT
MEDIUMdocs/quickstart.html202 However, it's worth noting that for production deployments using absolute paths is always preferable. See <aCODE
MEDIUMdocs/ops.html119 To view offsets, as mentioned earlier, we "describe" the consumer group like this:CODE
LOWdocs/ops.html776# Don't forget to enable a flow!COMMENT
MEDIUMdocs/design.html261 It's worth noting that this breaks down into two problems: the durability guarantees for publishing a message and thCODE
MEDIUMdocs/design.html461 partitions a node hosted when that node failed. As discussed above in the section on <a href="#replication">replicatCODE
MEDIUMdocs/security.html35 It's worth noting that security is optional - non-secured clusters are supported, as well as a mix of authenticated,CODE
MEDIUMdocs/connect.html952 <p>The API documentation provides a complete reference, but here is a simple example creating a <code>Schema</code> CODE
MEDIUMdocs/streams/developer-guide/processor-api.html435 that of non-versioned key-value stores, you may want to adjust yourCODE
Deep Nesting24 hits · 20 pts
SeverityFileLineSnippetContext
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py159CODE
LOWtests/kafkatest/tests/core/automq_tabletopic_base.py174CODE
LOWtests/kafkatest/tests/core/automq_telemetry_test.py157CODE
LOWtests/kafkatest/tests/streams/streams_upgrade_test.py351CODE
LOWtests/kafkatest/tests/streams/streams_upgrade_test.py430CODE
LOWtests/kafkatest/tests/streams/streams_upgrade_test.py512CODE
LOW…test/tests/streams/streams_application_upgrade_test.py232CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py256CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py383CODE
LOW…ts/kafkatest/tests/connect/connect_metrics_log_test.py577CODE
LOW…ts/kafkatest/tests/connect/connect_distributed_test.py605CODE
LOWtests/kafkatest/tests/client/quota_test.py34CODE
LOWtests/kafkatest/automq/automq_zerozone_test.py153CODE
LOW…sts/kafkatest/services/transactional_message_copier.py80CODE
LOWtests/kafkatest/services/verifiable_consumer.py92CODE
LOWtests/kafkatest/services/verifiable_consumer.py254CODE
LOWtests/kafkatest/services/verifiable_consumer.py322CODE
LOWtests/kafkatest/services/verifiable_producer.py126CODE
LOWtests/kafkatest/services/monitor/jmx.py108CODE
LOWtests/kafkatest/services/kafka/kafka.py202CODE
LOWtests/kafkatest/services/kafka/kafka.py648CODE
LOWtests/kafkatest/services/kafka/kafka.py1559CODE
LOW…s/kafkatest/services/performance/automq_performance.py134CODE
LOWrelease/textfiles.py55CODE
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOW…er/internals/OAuthBearerClientInitialResponseTest.java102 assertEquals("user@example.com", response.authorizationId());CODE
LOW…er/internals/OAuthBearerClientInitialResponseTest.java114 assertEquals("user@example.com", response.authorizationId());CODE
LOW…er/internals/OAuthBearerClientInitialResponseTest.java125 assertEquals("user@example.com", response.authorizationId());CODE
LOW…a/automq/table/process/RecordProcessorFactoryTest.java376 .setStreet("123 Main St")CODE
LOW…a/automq/table/process/RecordProcessorFactoryTest.java421 assertEquals("123 Main St", addressRecord.get("street").toString());CODE
LOW…a/automq/table/process/RecordProcessorFactoryTest.java466 .setStreet("123 Main St")CODE
LOW…a/automq/table/process/RecordProcessorFactoryTest.java489 assertEquals("123 Main St", addressRecord.get("street").toString());CODE
LOW…a/automq/table/process/RecordProcessorFactoryTest.java503 .setStreet("123 Main St")CODE
LOW…a/automq/table/process/RecordProcessorFactoryTest.java519 assertEquals("123 Main St", keyRecord.get("street").toString());CODE
LOW…rocessor/internals/GlobalProcessorContextImplTest.java71 when(streamsConfig.getString(StreamsConfig.APPLICATION_ID_CONFIG)).thenReturn("dummy-id");CODE
LOW…pache/kafka/connect/file/FileStreamSourceTaskTest.java136 "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...\n".getByCODE
LOW…pache/kafka/connect/file/FileStreamSourceTaskTest.java136 "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...\n".getByCODE
AI Structural Patterns8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…sts/kafkatest/services/transactional_message_copier.py48CODE
LOWtests/kafkatest/services/console_consumer.py62CODE
LOWtests/kafkatest/services/mirror_maker.py43CODE
LOWtests/kafkatest/services/verifiable_consumer.py215CODE
LOWtests/kafkatest/services/verifiable_producer.py59CODE
LOWtests/kafkatest/services/security/security_config.py147CODE
LOWtests/kafkatest/services/kafka/kafka.py202CODE
LOW…s/kafkatest/services/performance/automq_performance.py40CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…streams/processor/internals/TaskExecutionMetadata.java38 // TODO: implement exponential backoff, for now we just wait 5sCOMMENT