Apache Kafka - A distributed event streaming platform
1443 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …apache/kafka/clients/admin/StaticBrokerConfigTest.java | 142 | // broker (see org.apache.kafka.common.test.KafkaClusterTestKit.Builder.createNodeConfig()), |
| CRITICAL | …/kafka/clients/consumer/ShareConsumerCallbackTest.java | 328 | throw new org.apache.kafka.common.errors.OutOfOrderSequenceException("Exception thrown in Acknowledgemen |
| CRITICAL | …rg/apache/kafka/clients/producer/MockProducerTest.java | 94 | new org.apache.kafka.clients.producer.RoundRobinPartitioner(), |
| CRITICAL | …g/apache/kafka/clients/admin/KafkaAdminClientTest.java | 781 | new org.apache.kafka.common.feature.SupportedVersionRange(versionRange.minVersion(), |
| CRITICAL | …lients/consumer/internals/ShareCompletedFetchTest.java | 269 | assertArrayEquals("key".getBytes(), org.apache.kafka.common.utils.Utils.toNullableArray(thrown.keyBuffer |
| CRITICAL | …ts/consumer/internals/ApplicationEventHandlerTest.java | 96 | org.apache.kafka.common.utils.Utils.sleep(delayMs); |
| CRITICAL | …a/common/record/internal/UnalignedFileRecordsTest.java | 55 | org.apache.kafka.common.requests.ByteBufferChannel channel = new org.apache.kafka.common.requests.ByteBufferChan |
| CRITICAL | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 134 | org.junit.jupiter.api.Assumptions.assumeTrue( |
| CRITICAL | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 964 | new org.apache.kafka.common.config.types.Password(passphrase)); |
| CRITICAL | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 993 | new org.apache.kafka.common.config.types.Password(passphrase)); |
| CRITICAL | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 1024 | new org.apache.kafka.common.config.types.Password(wrongPassphrase)); |
| CRITICAL | …a/org/apache/kafka/clients/admin/KafkaAdminClient.java | 4530 | return new ScramFormatter(org.apache.kafka.common.security.scram.internals.ScramMechanism.forMechanismName(publi |
| CRITICAL | …/org/apache/kafka/clients/consumer/ConsumerConfig.java | 378 | " use <code>org.apache.kafka.clients.consumer.ShareConsumer.acknowledge()</code> to acknowledge delivery of |
| CRITICAL | …/org/apache/kafka/clients/consumer/ConsumerConfig.java | 381 | " <code>org.apache.kafka.clients.consumer.ShareConsumer.acknowledge()</code> to acknowledge delivery of reco |
| CRITICAL | …c/test/java/org/apache/kafka/tools/ToolsTestUtils.java | 169 | return org.apache.kafka.test.TestUtils.tempFile(sb.toString()); |
| CRITICAL | …rc/main/java/org/apache/kafka/tools/ConfigCommand.java | 385 | .map(mechanismName -> new UserScramCredentialDeletion(user, org.apache.kafka.clients.admin.ScramMechanis |
| CRITICAL | …rc/main/java/org/apache/kafka/tools/ConfigCommand.java | 393 | org.apache.kafka.common.security.scram.internals.ScramMechanism.forMechanismName(mechanismNa |
| CRITICAL | …rc/main/java/org/apache/kafka/tools/ConfigCommand.java | 397 | new ScramCredentialInfo(org.apache.kafka.clients.admin.ScramMechanism.fromMechanismName(mech |
| CRITICAL | …/main/java/org/apache/kafka/tools/DumpLogSegments.java | 651 | if (message.apiKey() == org.apache.kafka.coordinator.group.generated.CoordinatorRecordType.GROUP_METADATA.id |
| CRITICAL | …/coordinator/transaction/TransactionMetadataTest.scala | 732 | val clientTransactionState = org.apache.kafka.clients.admin.TransactionState.parse(state.stateName) |
| CRITICAL | …/unit/kafka/server/ReplicaAlterLogDirsThreadTest.scala | 458 | assertEquals(new org.apache.kafka.server.common.TopicIdPartition(topicId, t1p0.partition()), topicIdPartitionCapture |
| CRITICAL | …/test/scala/unit/kafka/server/DelayedProduceTest.scala | 51 | val aggregateCountBefore = KafkaYammerMetrics.defaultRegistry.allMetrics.keySet.asScala.count(name => |
| CRITICAL | …/test/scala/unit/kafka/server/DelayedProduceTest.scala | 68 | val aggregateCountAfter = KafkaYammerMetrics.defaultRegistry.allMetrics.keySet.asScala.count(name => |
| CRITICAL | …ala/unit/kafka/server/BrokerLifecycleManagerTest.scala | 98 | assertEquals(10L, context.mockChannelManager.unsentQueue.getFirst.request.build().asInstanceOf[BrokerRegistrationR |
| CRITICAL | …it/kafka/server/StreamsGroupHeartbeatRequestTest.scala | 771 | val options = new org.apache.kafka.clients.admin.AlterConfigsOptions() |
| CRITICAL | …it/kafka/server/StreamsGroupHeartbeatRequestTest.scala | 781 | val options2 = new org.apache.kafka.clients.admin.AlterConfigsOptions() |
| CRITICAL | …/test/scala/unit/kafka/server/ReplicaManagerTest.scala | 4426 | new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition0.partition()), |
| CRITICAL | …/test/scala/unit/kafka/server/ReplicaManagerTest.scala | 4427 | new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition1.partition()) |
| CRITICAL | …/test/scala/unit/kafka/server/ReplicaManagerTest.scala | 4472 | new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition0.partition()), |
| CRITICAL | …/test/scala/unit/kafka/server/ReplicaManagerTest.scala | 4473 | new org.apache.kafka.server.common.TopicIdPartition(topicId, topicIdPartition1.partition()) |
| CRITICAL | …on/kafka/server/DynamicBrokerReconfigurationTest.scala | 892 | val metricsFromOldTests = KafkaYammerMetrics.defaultRegistry.allMetrics.keySet.asScala.filter(isProcessorMetric) |
| CRITICAL | …on/kafka/server/DynamicBrokerReconfigurationTest.scala | 1043 | assertEquals(2, broker.config.dynamicConfig.reconfigurables.asScala.count(r => r.isInstanceOf[DataPlaneAcceptor])) |
| CRITICAL | …on/kafka/server/DynamicBrokerReconfigurationTest.scala | 1046 | def acceptors: Seq[DataPlaneAcceptor] = broker.config.dynamicConfig.reconfigurables.asScala.filter(_.isInstanceOf[Da |
| CRITICAL | …on/kafka/server/DynamicBrokerReconfigurationTest.scala | 1347 | Thread.getAllStackTraces.keySet.asScala.toList.map(_.getName) |
| CRITICAL | …ntegration/kafka/server/GssapiAuthenticationTest.scala | 272 | _ => org.apache.kafka.test.TestUtils.defaultApiVersionsResponse(ListenerType.BROKER)) { |
| CRITICAL | …src/test/scala/integration/kafka/api/MetricsTest.scala | 221 | def errorMetricCount = KafkaYammerMetrics.defaultRegistry.allMetrics.keySet.asScala.count(_.getName == "ErrorsPerSec |
| CRITICAL | …egration/kafka/api/PlaintextAdminIntegrationTest.scala | 1959 | val matching = client.listConsumerGroups.all.get.asScala.filter(group => |
| CRITICAL | …egration/kafka/api/PlaintextAdminIntegrationTest.scala | 2224 | val matching = client.listConsumerGroups.all.get.asScala.filter(group => |
| CRITICAL | core/src/main/scala/kafka/cluster/Partition.scala | 1690 | new org.apache.kafka.server.common.TopicIdPartition(topicId.getOrElse(throw new IllegalStateException("Topic id no |
| CRITICAL | core/src/main/scala/kafka/server/KafkaApis.scala | 2302 | val renewerList = createTokenRequest.data.renewers.asScala.toList.map(entry => |
| CRITICAL | …fka/coordinator/group/GroupCoordinatorServiceTest.java | 173 | Arguments.arguments(new org.apache.kafka.common.errors.TimeoutException(), Errors.COORDINATOR_NOT_AVAILABLE. |
| CRITICAL | …fka/coordinator/group/GroupCoordinatorServiceTest.java | 522 | Arguments.arguments(new org.apache.kafka.common.errors.TimeoutException(), Errors.COORDINATOR_NOT_AVAILABLE. |
| CRITICAL | …dinator/group/streams/TargetAssignmentBuilderTest.java | 840 | org.apache.kafka.coordinator.group.streams.TargetAssignmentBuilder builder = new org.apache.kafka.coordinato |
| CRITICAL | …ache/kafka/coordinator/group/GroupMetadataManager.java | 3718 | StreamsGroupMember updatedMember = new org.apache.kafka.coordinator.group.streams.CurrentAssignmentBuilder(membe |
| CRITICAL | …ache/kafka/coordinator/group/GroupMetadataManager.java | 4081 | new org.apache.kafka.coordinator.group.streams.TargetAssignmentBuilder( |
| CRITICAL | …ache/kafka/coordinator/group/GroupMetadataManager.java | 5864 | streamsGroup.updateTargetAssignment(memberId, org.apache.kafka.coordinator.group.streams.TasksTuple.fromTarg |
| CRITICAL | …s/integration/InMemoryStoreMetricsIntegrationTest.java | 250 | props.put(StreamsConfig.STATE_DIR_CONFIG, org.apache.kafka.test.TestUtils.tempDirectory().getAbsolutePath()); |
| CRITICAL | …st/java/org/apache/kafka/streams/KafkaStreamsTest.java | 316 | org.apache.kafka.clients.consumer.CloseOptions.groupMembershipOperation(org.apache.kafka.clients.consume |
| CRITICAL | …st/java/org/apache/kafka/streams/KafkaStreamsTest.java | 319 | org.apache.kafka.clients.consumer.CloseOptions.groupMembershipOperation(org.apache.kafka.clients.consume |
| CRITICAL | …a/streams/processor/internals/StreamsProducerTest.java | 113 | = new MockProducer<>(cluster, true, new org.apache.kafka.clients.producer.RoundRobinPartitioner(), new ByteArray |
| CRITICAL | …a/streams/processor/internals/StreamsProducerTest.java | 115 | = new MockProducer<>(cluster, true, new org.apache.kafka.clients.producer.RoundRobinPartitioner(), new ByteArray |
| CRITICAL | …a/streams/processor/internals/RecordCollectorTest.java | 144 | = new MockProducer<>(cluster, true, new org.apache.kafka.clients.producer.RoundRobinPartitioner(), new ByteArray |
| CRITICAL | …a/streams/processor/internals/RecordCollectorTest.java | 1819 | new org.apache.kafka.clients.producer.RoundRobinPartitioner(), |
| CRITICAL | …ssor/internals/assignment/TaskAssignmentUtilsTest.java | 356 | final org.apache.kafka.streams.processor.assignment.TaskAssignor.TaskAssignment noError = new org.apache.kafka.s |
| CRITICAL | …ssor/internals/assignment/TaskAssignmentUtilsTest.java | 370 | final org.apache.kafka.streams.processor.assignment.TaskAssignor.TaskAssignment missingProcessId = new org.apach |
| CRITICAL | …ssor/internals/assignment/TaskAssignmentUtilsTest.java | 383 | final org.apache.kafka.streams.processor.assignment.TaskAssignor.TaskAssignment unknownProcessId = new org.apach |
| CRITICAL | …ssor/internals/assignment/TaskAssignmentUtilsTest.java | 398 | final org.apache.kafka.streams.processor.assignment.TaskAssignor.TaskAssignment unknownTaskId = new org.apache.k |
| CRITICAL | …ssor/internals/assignment/TaskAssignmentUtilsTest.java | 416 | final org.apache.kafka.streams.processor.assignment.TaskAssignor.TaskAssignment activeTaskDuplicated = new org.a |
| CRITICAL | …ls/MeteredTimestampedKeyValueStoreWithHeadersTest.java | 131 | lenient().when(context.recordContext()).thenReturn(new org.apache.kafka.streams.processor.internals.ProcessorRec |
| CRITICAL | …ls/MeteredTimestampedKeyValueStoreWithHeadersTest.java | 132 | 0L, 0L, 0, "topic", new org.apache.kafka.common.header.internals.RecordHeaders())); |
| 48 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | …ients-integration-tests/src/test/resources/log4j2.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | clients/src/test/resources/log4j2.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …est/resources/common/message/SimpleExampleMessage.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …st/resources/common/message/NullableStructMessage.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …test/resources/common/message/SimpleArraysMessage.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …est/resources/common/message/SimpleRecordsMessage.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/src/test/resources/common/message/AllTypeMessage.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …t/java/org/apache/kafka/clients/NetworkClientTest.java | 1521 | updater.setNodes(Collections.singletonList(freshNode)); |
| LOW | …l/CommonNameLoggingTrustManagerFactoryWrapperTest.java | 81 | // Self-signed |
| LOW | …ts/src/main/resources/common/message/VoteResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ces/common/message/DescribeDelegationTokenRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …es/common/message/DescribeTopicPartitionsResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …esources/common/message/BrokerRegistrationRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ain/resources/common/message/DeleteRecordsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ources/common/message/AllocateProducerIdsResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …rces/common/message/CreateDelegationTokenResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …sources/common/message/ShareGroupDescribeResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …sources/common/message/ShareGroupDescribeResponse.json | 21 | // |
| LOW | …src/main/resources/common/message/MetadataRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …src/main/resources/common/message/MetadataRequest.json | 21 | "validVersions": "0-13", |
| LOW | …ces/common/message/ControllerRegistrationResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …urces/common/message/AssignReplicasToDirsResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/main/resources/common/message/ShareFetchResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/main/resources/common/message/ShareFetchResponse.json | 21 | // |
| LOW | …/resources/common/message/ShareAcknowledgeRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …c/main/resources/common/message/HeartbeatResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/main/resources/common/message/StopReplicaRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/src/main/resources/common/message/ProduceRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/src/main/resources/common/message/ProduceRequest.json | 21 | // Versions 0-2 were removed in Apache Kafka 4.0, version 3 is the new baseline. Due to a bug in librdkafka, |
| LOW | …main/resources/common/message/DeleteGroupsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …urces/common/message/WriteShareGroupStateResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ces/common/message/DescribeTopicPartitionsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …s/src/main/resources/common/message/EndTxnRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …resources/common/message/AlterClientQuotasRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …in/resources/common/message/UpdateMetadataRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …rces/common/message/DeleteShareGroupStateResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …resources/common/message/UnregisterBrokerResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …n/resources/common/message/DescribeGroupsResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/main/resources/common/message/LeaveGroupResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ents/src/main/resources/common/message/AbortedTxn.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ommon/message/DescribeUserScramCredentialsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …n/resources/common/message/FindCoordinatorRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …n/resources/common/message/FindCoordinatorRequest.json | 21 | // Version 1 adds KeyType. |
| LOW | …esources/common/message/AddPartitionsToTxnRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …esources/common/message/ShareGroupDescribeRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/resources/common/message/DescribeClusterResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ain/resources/common/message/SaslHandshakeRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …n/resources/common/message/DescribeLogDirsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ts/src/main/resources/common/message/FetchRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ts/src/main/resources/common/message/FetchRequest.json | 21 | // Versions 0-3 were removed in Apache Kafka 4.0, Version 4 is the new baseline. |
| LOW | …ts/src/main/resources/common/message/FetchRequest.json | 41 | // |
| LOW | …s/common/message/GetTelemetrySubscriptionsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …sources/common/message/AlterReplicaLogDirsRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …mmon/message/DescribeUserScramCredentialsResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …in/resources/common/message/DescribeQuorumRequest.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …rces/common/message/ConsumerGroupDescribeResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …in/resources/common/message/FetchSnapshotResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …/src/main/resources/common/message/ResponseHeader.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …ommon/message/AlterPartitionReassignmentsResponse.json | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more |
| 721 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …fka/clients/producer/internals/TransactionManager.java | 1367 | abstract class TxnRequestHandler implements RequestCompletionHandler { |
| LOW | …ka/clients/consumer/internals/ConsumerCoordinator.java | 1353 | private class OffsetCommitResponseHandler extends CoordinatorResponseHandler<OffsetCommitResponse, Void> { |
| LOW | …ka/clients/consumer/internals/ConsumerCoordinator.java | 1515 | private class OffsetFetchResponseHandler extends CoordinatorResponseHandler<OffsetFetchResponse, Map<TopicPartition, |
| LOW | …ka/clients/consumer/internals/AbstractCoordinator.java | 640 | private class JoinGroupResponseHandler extends CoordinatorResponseHandler<JoinGroupResponse, ByteBuffer> { |
| LOW | …ka/clients/consumer/internals/AbstractCoordinator.java | 820 | private class SyncGroupResponseHandler extends CoordinatorResponseHandler<SyncGroupResponse, ByteBuffer> { |
| LOW | …ka/clients/consumer/internals/AbstractCoordinator.java | 922 | private class FindCoordinatorResponseHandler extends RequestFutureAdapter<ClientResponse, Void> { |
| LOW | …ka/clients/consumer/internals/AbstractCoordinator.java | 1204 | private class LeaveGroupResponseHandler extends CoordinatorResponseHandler<LeaveGroupResponse, Void> { |
| LOW | …ka/clients/consumer/internals/AbstractCoordinator.java | 1242 | private class HeartbeatResponseHandler extends CoordinatorResponseHandler<HeartbeatResponse, Void> { |
| LOW | …ka/clients/consumer/internals/AbstractCoordinator.java | 1296 | protected abstract class CoordinatorResponseHandler<R, T> extends RequestFutureAdapter<ClientResponse, T> { |
| LOW | docker/extract_docker_official_image_artifact.py | 40 | def set_executable_permissions(directory): |
| LOW | docker/common.py | 33 | def build_docker_image_runner(command, image_type, kafka_archive=None): |
| LOW | docker/prepare_docker_official_image_source.py | 41 | def remove_args_and_hardcode_values(file_path, kafka_version, kafka_url): |
| LOW | docker/docker_official_image_build_test.py | 44 | def build_docker_official_image(image, tag, kafka_version, image_type): |
| LOW | …a/coordinator/AbstractCoordinatorConcurrencyTest.scala | 259 | def getOrCreateLogs(): mutable.Map[TopicPartition, (UnifiedLog, Long)] = { |
| LOW | …er/handlers/DescribeTopicPartitionsRequestHandler.java | 43 | public class DescribeTopicPartitionsRequestHandler { |
| LOW | …rc/main/scala/kafka/tools/TestRaftRequestHandler.scala | 36 | class TestRaftRequestHandler( |
| LOW | …/coordinator/transaction/TransactionStateManager.scala | 404 | private def getAndMaybeAddTransactionState(transactionalId: String, |
| LOW | core/src/main/scala/kafka/network/SocketServer.scala | 1601 | private def getOrCreateConnectionRateQuotaSensor(quotaLimit: Int, connectionQuotaEntity: ConnectionQuotaEntity): Senso |
| LOW | core/src/main/scala/kafka/server/ReplicaManager.scala | 2309 | private[kafka] def getOrCreatePartition(tp: TopicPartition, |
| LOW | …re/src/main/scala/kafka/server/ForwardingManager.scala | 111 | class ForwardingResponseHandler extends ControllerRequestCompletionHandler { |
| LOW | …/src/main/scala/kafka/server/KafkaRequestHandler.scala | 91 | class KafkaRequestHandler( |
| LOW | …rc/main/scala/kafka/server/AbstractFetcherThread.scala | 952 | def getAndMaybePut(topicPartition: TopicPartition): FetcherLagMetrics = { |
| LOW | core/src/main/scala/kafka/server/ConfigHandler.scala | 158 | def getOrDefault(prop: String): Long = updatedDynamicBrokerConfigs get prop match { |
| LOW | tests/unit/directory_layout/check_project_paths.py | 37 | def check_create_path_resolver_override(self): |
| LOW | tests/unit/directory_layout/check_project_paths.py | 49 | def check_create_path_resolver_default(self): |
| LOW | tests/unit/directory_layout/check_project_paths.py | 63 | def check_versioned_source_paths(self): |
| LOW | tests/unit/directory_layout/check_project_paths.py | 71 | def check_node_or_version_helper(self): |
| LOW | tests/kafkatest/version.py | 65 | def topic_command_supports_bootstrap_server(self): |
| LOW | tests/kafkatest/version.py | 68 | def topic_command_supports_if_not_exists_with_bootstrap_server(self): |
| LOW | tests/kafkatest/version.py | 71 | def supports_tls_to_zookeeper(self): |
| LOW | tests/kafkatest/version.py | 75 | def reassign_partitions_command_supports_bootstrap_server(self): |
| LOW | tests/kafkatest/version.py | 78 | def kafka_configs_command_uses_bootstrap_server(self): |
| LOW | tests/kafkatest/version.py | 82 | def kafka_configs_command_uses_bootstrap_server_scram(self): |
| LOW | tests/kafkatest/version.py | 86 | def supports_topic_ids_when_using_zk(self): |
| LOW | tests/kafkatest/version.py | 107 | def supports_command_property(self): |
| LOW | tests/kafkatest/version.py | 114 | def supports_formatter_property(self): |
| LOW | …ts/kafkatest/sanity_checks/test_verifiable_producer.py | 84 | def test_multiple_kraft_security_protocols( |
| LOW | …ts/kafkatest/sanity_checks/test_verifiable_producer.py | 125 | def test_multiple_kraft_sasl_mechanisms(self, metadata_quorum): |
| LOW | tests/kafkatest/tests/verifiable_share_consumer_test.py | 76 | def await_consumed_messages_by_a_consumer(self, consumer, node, min_messages=1, timeout_sec=10, total=False): |
| LOW | tests/kafkatest/tests/verifiable_share_consumer_test.py | 84 | def await_unique_consumed_messages(self, consumer, min_messages=1, timeout_sec=10): |
| LOW | tests/kafkatest/tests/verifiable_share_consumer_test.py | 89 | def await_acknowledged_messages(self, consumer, min_messages=1, timeout_sec=10): |
| LOW | tests/kafkatest/tests/verifiable_share_consumer_test.py | 94 | def await_unique_acknowledged_messages(self, consumer, min_messages=1, timeout_sec=10): |
| LOW | tests/kafkatest/tests/produce_consume_validate.py | 51 | def start_producer_and_consumer(self): |
| LOW | tests/kafkatest/tests/produce_consume_validate.py | 93 | def stop_producer_and_consumer(self): |
| LOW | tests/kafkatest/tests/produce_consume_validate.py | 99 | def run_produce_consume_validate(self, core_test_action=None, *args): |
| LOW | tests/kafkatest/tests/end_to_end.py | 45 | def create_zookeeper_if_necessary(self, num_nodes=1, **kwargs): |
| LOW | tests/kafkatest/tests/verifiable_consumer_test.py | 89 | def await_all_members_stabilized(self, topic, num_partitions, consumer, timeout_sec): |
| LOW | tests/kafkatest/tests/tools/log_compaction_test.py | 52 | def start_test_log_compaction_tool(self, security_protocol, compression_config={}): |
| LOW | tests/kafkatest/tests/tools/trogdor_test.py | 72 | def test_network_partition_fault(self): |
| LOW | …sts/kafkatest/tests/tools/replica_verification_test.py | 60 | def start_replica_verification_tool(self, security_protocol): |
| LOW | tests/kafkatest/tests/core/fetch_from_follower_test.py | 73 | def test_consumer_preferred_read_replica(self, metadata_quorum, group_protocol=None): |
| LOW | tests/kafkatest/tests/core/transactions_test.py | 141 | def copy_messages_transactionally(self, failure_mode, bounce_target, |
| LOW | …fkatest/tests/core/transactions_mixed_versions_test.py | 115 | def copy_messages_transactionally(self, input_topic, output_topic, |
| LOW | …fkatest/tests/core/transactions_mixed_versions_test.py | 198 | def test_transactions_mixed_versions(self, old_kafka_version, metadata_quorum=quorum.isolated_kraft, group_protocol= |
| LOW | tests/kafkatest/tests/core/share_consume_bench_test.py | 96 | def test_two_share_consumers_in_a_group_topics(self, metadata_quorum): |
| LOW | tests/kafkatest/tests/core/share_consume_bench_test.py | 124 | def test_one_share_consumer_subscribed_to_single_topic(self, metadata_quorum): |
| LOW | tests/kafkatest/tests/core/share_consume_bench_test.py | 151 | def test_multiple_share_consumers_subscribed_to_single_topic(self, metadata_quorum): |
| LOW | tests/kafkatest/tests/core/security_test.py | 49 | def producer_consumer_have_expected_error(self, error): |
| LOW | tests/kafkatest/tests/core/security_test.py | 73 | def test_client_ssl_endpoint_validation_failure(self, security_protocol, interbroker_security_protocol, metadata_quo |
| LOW | tests/kafkatest/tests/core/security_test.py | 145 | def test_quorum_ssl_endpoint_validation_failure(self, metadata_quorum, group_protocol=None): |
| 205 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …t/scala/unit/kafka/docker/KafkaDockerWrapperTest.scala | 0 | |configuration: | appenders: | console: | name: "console" | target: "system_out" | patternlayout: | pattern: "123" | log |
| HIGH | …t/scala/unit/kafka/docker/KafkaDockerWrapperTest.scala | 0 | |configuration: | appenders: | console: | name: "console" | target: "system_out" | patternlayout: | pattern: "123" | log |
| HIGH | …t/scala/unit/kafka/docker/KafkaDockerWrapperTest.scala | 0 | |configuration: | appenders: | console: | name: "console" | target: "system_out" | patternlayout: | pattern: "123" | log |
| HIGH | …t/scala/unit/kafka/docker/KafkaDockerWrapperTest.scala | 0 | configuration: | appenders: | console: | name: "console" | target: "system_out" | patternlayout: | pattern: "[%d] %p %m |
| HIGH | …t/scala/unit/kafka/docker/KafkaDockerWrapperTest.scala | 0 | configuration: | appenders: | console: | name: "console" | target: "system_out" | patternlayout: | pattern: "[%d] %p %m |
| HIGH | …t/scala/unit/kafka/docker/KafkaDockerWrapperTest.scala | 0 | configuration: | appenders: | console: | name: "console" | target: "system_out" | patternlayout: | pattern: "[%d] %p %m |
| HIGH | tests/kafkatest/tests/verifiable_share_consumer_test.py | 0 | override this since we're adding services outside of the constructor |
| HIGH | tests/kafkatest/tests/verifiable_consumer_test.py | 0 | override this since we're adding services outside of the constructor |
| HIGH | tests/kafkatest/tests/core/log_dir_failure_test.py | 0 | override this since we're adding services outside of the constructor |
| HIGH | tests/kafkatest/tests/core/replication_test.py | 0 | override this since we're adding services outside of the constructor |
| HIGH | tests/kafkatest/tests/core/quota_test.py | 0 | override this since we're adding services outside of the constructor |
| HIGH | tests/kafkatest/tests/core/transactions_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | …fkatest/tests/core/transactions_mixed_versions_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/share_consume_bench_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/security_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/produce_bench_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | …fkatest/tests/core/replication_replica_failure_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/log_dir_failure_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/throttling_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/round_trip_fault_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/consume_bench_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/replication_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | …s/kafkatest/tests/core/group_mode_transactions_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/reassign_partitions_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/transactions_upgrade_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/quota_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | …/kafkatest/tests/core/eligible_leader_replicas_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | …est/tests/client/client_compatibility_features_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/client/compression_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | …ts/client/client_compatibility_produce_consume_test.py | 0 | :type test_context: ducktape.tests.test.testcontext |
| HIGH | tests/kafkatest/tests/core/log_dir_failure_test.py | 0 | discover node of requested type. for leader type, discovers leader for our topic and partition 0 |
| HIGH | tests/kafkatest/tests/core/replication_test.py | 0 | discover node of requested type. for leader type, discovers leader for our topic and partition 0 |
| HIGH | …/kafkatest/tests/streams/streams_broker_bounce_test.py | 0 | discover node of requested type. for leader type, discovers leader for our topic and partition 0 |
| HIGH | …sts/kafkatest/services/transactional_message_copier.py | 0 | try to parse a string as json. return none if not parseable. |
| HIGH | tests/kafkatest/services/verifiable_consumer.py | 0 | try to parse a string as json. return none if not parseable. |
| HIGH | tests/kafkatest/services/verifiable_producer.py | 0 | try to parse a string as json. return none if not parseable. |
| HIGH | tests/kafkatest/services/verifiable_share_consumer.py | 0 | try to parse a string as json. return none if not parseable. |
| HIGH | tests/kafkatest/services/zookeeper.py | 0 | queries zookeeper for data associated with 'path' and returns all fields in the schema |
| HIGH | tests/kafkatest/services/zookeeper.py | 0 | queries zookeeper for data associated with 'path' and returns all fields in the schema |
| HIGH | tests/kafkatest/services/zookeeper.py | 0 | queries zookeeper for data associated with 'path' and returns all fields in the schema |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1882 | // Step 2: put the state machine into the appropriate... state |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1897 | // Step 3: assign partitions |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1908 | // Step 4: Send ack and make sure we're done and our listener was called appropriately |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1917 | // Step 5: receive an empty assignment, which means we should call revoke |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1925 | // Step 6: revoke partitions |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1935 | // Step 7: assign partitions should still be called, even though it's empty |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1945 | // Step 8: Send ack and make sure we're done and our listener was called appropriately |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1963 | // Step 1: set up mocks |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1979 | // Step 2: put the state machine into the appropriate... state |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 1994 | // Step 3: revoke partitions |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2006 | // Step 4: Send ack and make sure we're done and our listener was called appropriately |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2023 | // Step 1: set up mocks |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2038 | // Step 2: put the state machine into the appropriate... state |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2053 | // Step 3: revoke partitions |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2064 | // Step 4: assign partitions |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2076 | // Step 5: Send ack and make sure we're done and our listener was called appropriately |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2289 | // Step 1: set up mocks |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2304 | // Step 2: put the state machine into the appropriate... state |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2313 | // Step 3: invoke the callback |
| LOW | …/consumer/internals/ConsumerMembershipManagerTest.java | 2324 | // Step 4: Receive ack and make sure we're done and our listener was called appropriately |
| LOW | …/consumer/internals/CoordinatorRequestManagerTest.java | 110 | // Step 1: mark the coordinator as disconnected right after creation of the CoordinatorRequestManager. |
| LOW | …/consumer/internals/CoordinatorRequestManagerTest.java | 115 | // Step 2: sleep for one minute and mark the coordinator unknown again. Then verify that the warning was |
| LOW | …/consumer/internals/CoordinatorRequestManagerTest.java | 123 | // Step 3: sleep for *another* minute, mark the coordinator unknown again, and verify the accuracy. |
| LOW | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 528 | // Step 1: Authenticate with client assertion |
| LOW | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 538 | // Step 2: Reconfigure with only client secret (assertion configs removed) |
| LOW | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 560 | // Step 1: Authenticate with locally-generated assertion |
| LOW | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 570 | // Step 2: Reconfigure with file-based assertion (locally-generated configs removed) |
| LOW | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 600 | // Step 1: Authenticate with file-based assertion |
| LOW | …authbearer/ClientAssertionKeycloakIntegrationTest.java | 620 | // Step 2: Reconfigure with locally-generated assertion (file config removed) |
| LOW | …c/test/scala/unit/kafka/network/SocketServerTest.scala | 1476 | // Step 1: Send client requests. |
| LOW | …c/test/scala/unit/kafka/network/SocketServerTest.scala | 1487 | // Step 2: Close the client-side socket and the proxy socket to the server, triggering close notification in the |
| LOW | …c/test/scala/unit/kafka/network/SocketServerTest.scala | 1497 | // Step 3: Process the first request. Verify that the channel is not removed since the channel |
| LOW | …c/test/scala/unit/kafka/network/SocketServerTest.scala | 1504 | // Step 4: Process buffered data. if `responseRequiredIndex>=0`, the channel should be failed and removed when |
| LOW | …integration/kafka/api/ClientOAuthIntegrationTest.scala | 70 | // Step 1: Generate the key pair dynamically. |
| LOW | …integration/kafka/api/ClientOAuthIntegrationTest.scala | 77 | // Step 2: Create the RSA JWK from key pair. |
| LOW | …integration/kafka/api/ClientOAuthIntegrationTest.scala | 83 | // Step 3: Create the OAuth server using the keys just created |
| LOW | …e/src/main/java/kafka/server/share/SharePartition.java | 1702 | // we need to check if the share partition has reached the max in-flight records limit |
| LOW | …e/src/main/java/kafka/server/share/SharePartition.java | 3347 | // Step 1: Enqueue to DLQ |
| LOW | …e/src/main/java/kafka/server/share/SharePartition.java | 3356 | // Step 2: Transition ARCHIVING → ARCHIVED |
| LOW | …e/src/main/java/kafka/server/share/SharePartition.java | 3369 | // Step 3: Persist ARCHIVED. On failure, ARCHIVED stays in memory — the |
| LOW | …rc/main/java/kafka/server/share/DelayedShareFetch.java | 239 | // tryComplete did not invoke forceComplete, so we need to check if we have any partitions to fetch. |
| LOW | …/streams/integration/InternalTopicIntegrationTest.java | 202 | // Step 1: Configure and start a simple word count topology |
| LOW | …/streams/integration/InternalTopicIntegrationTest.java | 215 | // Step 2: Produce some input data to the input topic. |
| LOW | …/streams/integration/InternalTopicIntegrationTest.java | 220 | // Step 3: Verify the state changelog topics are compact |
| LOW | …/streams/integration/InternalTopicIntegrationTest.java | 240 | // Step 1: Configure and start a simple word count topology |
| LOW | …/streams/integration/InternalTopicIntegrationTest.java | 256 | // Step 2: Produce some input data to the input topic. |
| LOW | …/streams/integration/InternalTopicIntegrationTest.java | 261 | // Step 3: Verify the state changelog topics are compact |
| LOW | …ntegration/OuterJoinListValueStoreRestorationTest.java | 155 | // Step 1: Initial Topology Start |
| LOW | …ntegration/OuterJoinListValueStoreRestorationTest.java | 159 | // Step 2: Create Non-Joined Records |
| LOW | …ntegration/OuterJoinListValueStoreRestorationTest.java | 187 | // Step 3: Force State Restoration |
| LOW | …ntegration/OuterJoinListValueStoreRestorationTest.java | 191 | // Step 4: Restart with Restoration |
| LOW | …ntegration/OuterJoinListValueStoreRestorationTest.java | 195 | // Step 5: Trigger Window Advancement |
| LOW | …/internals/RocksDBTimestampedStoreWithHeadersTest.java | 283 | // Step 1: Create a plain store with two keys |
| LOW | …/internals/RocksDBTimestampedStoreWithHeadersTest.java | 290 | // Step 2: Open as timestamped store and migrate one key (simulating partial migration) |
| LOW | …/internals/RocksDBTimestampedStoreWithHeadersTest.java | 297 | // Step 3: Try to open with headers store - should fail |
| LOW | …ache/kafka/server/share/session/ShareSessionCache.java | 288 | // as part of final epoch from client, so we need to check if the session is still |
| LOW | …kafka/tiered/storage/HarnessBackedClusterInstance.java | 153 | // Step 1: wait until a controller marks all brokers as registered and unfenced |
| LOW | …kafka/tiered/storage/HarnessBackedClusterInstance.java | 161 | // Step 2: wait until each broker's metadata cache knows about all alive brokers |
| LOW | …apache/kafka/storage/internals/log/UnifiedLogTest.java | 4558 | // Step 1: Write transactional records as leader to establish current epoch |
| LOW | …apache/kafka/storage/internals/log/UnifiedLogTest.java | 4565 | // Step 2: Simulate leader writing TV2 marker with bumped epoch (epoch + 1) |
| 11 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker/test/docker_sanity_test.py | 180 | except Exception as e: |
| LOW | docker/test/docker_sanity_test.py | 185 | except Exception as e: |
| LOW | docker/test/docker_sanity_test.py | 190 | except Exception as e: |
| LOW | docker/test/docker_sanity_test.py | 197 | except Exception as e: |
| LOW | docker/test/docker_sanity_test.py | 202 | except Exception as e: |
| LOW | …est/tests/client/client_compatibility_features_test.py | 52 | except Exception as e: |
| LOW | …est/tests/client/client_compatibility_features_test.py | 104 | except Exception as e: |
| LOW | tests/kafkatest/tests/client/share_consumer_test.py | 63 | except Exception: |
| MEDIUM | tests/kafkatest/tests/client/share_consumer_test.py | 59 | def leader_settled(partition_leader, topicName, partition): |
| LOW | tests/kafkatest/services/streams.py | 235 | except Exception as exception: |
| MEDIUM | tests/kafkatest/services/streams.py | 231 | def pids(self, node): |
| LOW | tests/kafkatest/services/monitor/http.py | 209 | except Exception as e: |
| MEDIUM | tests/kafkatest/services/monitor/http.py | 96 | def stop(self): |
| LOW | tests/kafkatest/services/kafka/kafka.py | 700 | except Exception: |
| LOW | tests/kafkatest/services/kafka/kafka.py | 705 | except Exception: |
| LOW | tests/kafkatest/services/kafka/kafka.py | 1014 | except Exception: |
| LOW | release/release.py | 247 | except Exception as e: |
| LOW | release/release.py | 316 | except Exception as e: |
| MEDIUM | release/release.py | 240 | def prereq(name, soft_check): |
| LOW | release/runtime.py | 58 | except Exception as e: |
| LOW | release/notes.py | 172 | except Exception as e: |
| LOW | release/gpg.py | 35 | except Exception: |
| LOW | .github/scripts/pr-format.py | 130 | except Exception as e: |
| MEDIUM | .github/scripts/pr-format.py | 124 | def _run_json(cmd, source): |
| MEDIUM | .github/scripts/develocity_reports.py | 1289 | print(f"Error occurred: {str(e)}") |
| MEDIUM | .github/scripts/develocity_reports.py | 108 | def get_cache(self) -> Optional[BuildCache]: |
| MEDIUM | .github/scripts/develocity_reports.py | 128 | def get_cache(self) -> Optional[BuildCache]: |
| LOW | .github/scripts/develocity_reports.py | 113 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 121 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 141 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 155 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 394 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 598 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 818 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 914 | except Exception as e: |
| LOW | .github/scripts/develocity_reports.py | 1287 | except Exception as e: |
| LOW | committer-tools/refresh_collaborators.py | 149 | except Exception as e: |
| MEDIUM | committer-tools/verify_license.py | 45 | print("Error: Distributions directory not found:", distributions_dir) |
| MEDIUM | committer-tools/verify_license.py | 55 | print("Error: No tarball matching 'kafka_2.13-*.tgz' found in:", distributions_dir) |
| MEDIUM | committer-tools/verify_license.py | 100 | print("Error: No directory found after extraction.") |
| MEDIUM | committer-tools/verify_license.py | 109 | print("Error: LICENSE file or libs directory not found in the extracted project.") |
| LOW | committer-tools/kafka-merge-pr.py | 142 | except Exception as error: |
| LOW | committer-tools/kafka-merge-pr.py | 202 | except Exception as error: |
| LOW | committer-tools/kafka-merge-pr.py | 225 | except Exception as error: |
| LOW | committer-tools/kafka-merge-pr.py | 236 | except Exception as error: |
| LOW | committer-tools/kafka-merge-pr.py | 274 | except Exception as error: |
| MEDIUM | committer-tools/kafka-merge-pr.py | 77 | def get_json(url): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker/generate_kafka_pr_template.py | 36 | |
| LOW | …s/kafkatest/sanity_checks/test_performance_services.py | 17 | |
| LOW | …fkatest/tests/core/transactions_mixed_versions_test.py | 20 | |
| LOW | …fkatest/tests/core/transactions_mixed_versions_test.py | 23 | |
| LOW | …fkatest/tests/core/transactions_mixed_versions_test.py | 32 | |
| LOW | …fkatest/tests/core/replication_replica_failure_test.py | 20 | |
| LOW | …fkatest/tests/core/replication_replica_failure_test.py | 25 | |
| LOW | …fkatest/tests/core/replication_replica_failure_test.py | 27 | |
| LOW | …fkatest/tests/core/replication_replica_failure_test.py | 30 | |
| LOW | …fkatest/tests/core/replication_replica_failure_test.py | 31 | |
| LOW | tests/kafkatest/tests/core/round_trip_fault_test.py | 27 | |
| LOW | tests/kafkatest/tests/core/replication_test.py | 19 | |
| LOW | …atest/tests/core/compatibility_test_new_broker_test.py | 13 | |
| LOW | tests/kafkatest/tests/core/upgrade_test.py | 16 | |
| LOW | tests/kafkatest/tests/core/upgrade_test.py | 20 | |
| LOW | tests/kafkatest/tests/core/snapshot_test.py | 16 | |
| LOW | tests/kafkatest/tests/core/transactions_upgrade_test.py | 20 | |
| LOW | tests/kafkatest/tests/core/transactions_upgrade_test.py | 32 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 18 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 22 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 25 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 25 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 25 | |
| LOW | …est/tests/streams/streams_broker_compatibility_test.py | 16 | |
| LOW | …test/tests/streams/streams_application_upgrade_test.py | 23 | |
| LOW | …test/tests/streams/streams_application_upgrade_test.py | 23 | |
| LOW | tests/kafkatest/tests/streams/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/tests/streams/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/tests/streams/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/tests/streams/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/tests/streams/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/tests/connect/connect_test.py | 23 | |
| LOW | …atest/tests/client/consumer_protocol_migration_test.py | 21 | |
| LOW | tests/kafkatest/tests/client/consumer_test.py | 21 | |
| LOW | tests/kafkatest/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/utils/__init__.py | 16 | |
| LOW | tests/kafkatest/services/console_consumer.py | 24 | |
| LOW | tests/kafkatest/services/console_share_consumer.py | 20 | |
| LOW | tests/kafkatest/services/console_share_consumer.py | 24 | |
| LOW | tests/kafkatest/services/monitor/jmx.py | 22 | |
| LOW | tests/kafkatest/services/security/kafka_acls.py | 16 | |
| LOW | tests/kafkatest/services/kafka/__init__.py | 16 | |
| LOW | tests/kafkatest/services/kafka/__init__.py | 17 | |
| LOW | tests/kafkatest/services/kafka/__init__.py | 18 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 16 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 16 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 16 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 16 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 17 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 18 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 19 | |
| LOW | tests/kafkatest/services/performance/__init__.py | 20 | |
| LOW | release/release.py | 57 | |
| LOW | release/svn.py | 24 | |
| LOW | .github/scripts/checkstyle.py | 21 | |
| LOW | .github/scripts/develocity_reports.py | 20 | |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …a/org/apache/kafka/clients/producer/KafkaProducer.java | 729 | * {@link KafkaConsumer#groupMetadata()} to leverage consumer group metadata. This will provide |
| MEDIUM | …a/org/apache/kafka/clients/admin/KafkaAdminClient.java | 4865 | // Simply leverage the existing fenceProducers implementation with a single transactional ID |
| LOW | …a/org/apache/kafka/clients/consumer/KafkaConsumer.java | 306 | * To use this mode, instead of subscribing to the topic using {@link #subscribe(Collection) subscribe}, you just call |
| LOW | …a/org/apache/kafka/clients/consumer/KafkaConsumer.java | 642 | * partitions using {@link #assign(Collection)} then this will simply return the same partitions that |
| LOW | …org/apache/kafka/common/internals/KafkaFutureImpl.java | 65 | // function. CompletableFuture#thenApply will just return ExecutionException wrapping the |
| MEDIUM | core/src/main/scala/kafka/server/ReplicaManager.scala | 893 | // Please refer to the documentation in `DelayedProduce#tryComplete` for a comprehensive description of thes |
| LOW | vagrant/base.sh | 209 | # VMs, we can just create it if it doesn't exist and use it like we'd use |
| MEDIUM | …/streams/processor/internals/StoreChangelogReader.java | 132 | // NOTE we do not book keep the current offset since we leverage state manager as its source of truth |
| LOW | tests/kafkatest/tests/core/transactions_test.py | 226 | # To check ordering, we simply create input and output topics |
| MEDIUM | tests/kafkatest/tests/core/reassign_partitions_test.py | 137 | # latter is more robust. |
| MEDIUM | …/kafkatest/tests/streams/streams_broker_bounce_test.py | 188 | # Start test harness |
| MEDIUM | tests/kafkatest/services/monitor/jmx.py | 63 | # JmxTool is not particularly robust to slow-starting processes. In order to ensure JmxTool doesn't fail if the |
| MEDIUM | …he/kafka/connect/runtime/WorkerTransactionContext.java | 83 | // Essentially, instead of telling the task that it screwed up and trusting it to do the right thing, we rat on |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/kafkatest/tests/core/quota_test.py | 33 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 255 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 334 | |
| LOW | tests/kafkatest/tests/streams/streams_upgrade_test.py | 416 | |
| LOW | …test/tests/streams/streams_application_upgrade_test.py | 236 | |
| LOW | …ts/kafkatest/tests/connect/connect_distributed_test.py | 566 | |
| LOW | …sts/kafkatest/services/transactional_message_copier.py | 76 | |
| LOW | tests/kafkatest/services/verifiable_consumer.py | 93 | |
| LOW | tests/kafkatest/services/verifiable_consumer.py | 303 | |
| LOW | tests/kafkatest/services/verifiable_consumer.py | 363 | |
| LOW | tests/kafkatest/services/verifiable_producer.py | 125 | |
| LOW | tests/kafkatest/services/verifiable_share_consumer.py | 145 | |
| LOW | tests/kafkatest/services/kafka/kafka.py | 194 | |
| LOW | tests/kafkatest/services/kafka/kafka.py | 601 | |
| LOW | tests/kafkatest/services/kafka/kafka.py | 848 | |
| LOW | tests/kafkatest/services/kafka/kafka.py | 1513 | |
| LOW | release/textfiles.py | 55 | |
| LOW | .github/scripts/pr-format.py | 107 | |
| LOW | .github/scripts/format-test-catalog.py | 32 | |
| LOW | .github/scripts/checkstyle.py | 38 | |
| LOW | .github/scripts/junit.py | 144 | |
| LOW | .github/scripts/develocity_reports.py | 966 | |
| LOW | .github/scripts/develocity_reports.py | 226 | |
| LOW | .github/scripts/develocity_reports.py | 313 | |
| LOW | .github/scripts/develocity_reports.py | 415 | |
| LOW | .github/scripts/develocity_reports.py | 560 | |
| LOW | .github/scripts/develocity_reports.py | 603 | |
| LOW | .github/scripts/develocity_reports.py | 740 | |
| LOW | .github/scripts/develocity_reports.py | 845 | |
| LOW | committer-tools/refresh_collaborators.py | 78 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docker/generate_kafka_pr_template.py | 69 | # This file is generated via https://github.com/apache/kafka/blob/{file_commit(os.path.join(current_dir, self))}/docker/ |
| MEDIUM | tests/setup.cfg | 18 | # This file defines naming convention and root search directory for autodiscovery of |
| MEDIUM | tests/kafkatest/tests/produce_consume_validate.py | 22 | """This class provides a shared template for tests which follow the common pattern of: |
| MEDIUM | tests/kafkatest/tests/end_to_end.py | 27 | """This class provides a shared template for tests which follow the common pattern of: |
| MEDIUM | tests/kafkatest/tests/core/snapshot_test.py | 131 | # Create a new topic |
| MEDIUM | tests/kafkatest/tests/core/snapshot_test.py | 197 | # Create a topic where the affected broker must be the leader |
| MEDIUM | …kafkatest/tests/streams/templates/log4j2_template.yaml | 16 | # Define the root logger with appender file |
| MEDIUM | tests/kafkatest/services/streams.py | 220 | # Create a randomized state directory path to prevent test interference |
| MEDIUM | tests/kafkatest/services/trogdor/trogdor.py | 133 | # Create the configuration file on the node. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …g/apache/kafka/connect/runtime/WorkerSinkTaskTest.java | 273 | // Offset commit as requested when pausing; No records returned by consumer.poll() |
| HIGH | …g/apache/kafka/connect/runtime/WorkerSinkTaskTest.java | 317 | // Offset commit as requested when pausing; No records returned by consumer.poll() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/kafkatest/services/kafka/kafka.py | 1459 | cmd += "&& sleep 1 && rm -f %s" % json_file |
| HIGH | tests/kafkatest/services/kafka/kafka.py | 1501 | cmd += " && sleep 1 && rm -f %s" % json_file |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/kafkatest/tests/core/snapshot_test.py | 117 | # Check if the first log segment is cleaned up |
| LOW | .github/workflows/build.yml | 167 | # Check if there are any empty files under ./site-docs/generated, If any empty files are found, print an error |
| LOW | .github/scripts/develocity_reports.py | 130 | # Check if running in GitHub Actions |
| LOW | .github/scripts/develocity_reports.py | 728 | # Check if there's a significant increase in flakiness |
| LOW | .github/scripts/develocity_reports.py | 766 | # Check if the test meets clearing criteria at class level |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …a/org/apache/kafka/clients/producer/KafkaProducer.java | 109 | * Here is a simple example of using the producer to send records with strings containing sequential numbers as the key/ |
| MEDIUM | …rc/main/java/org/apache/kafka/clients/admin/Admin.java | 77 | * Here is a simple example of using an Admin client instance to create a new topic: |
| LOW | .github/workflows/build.yml | 186 | # If we change these, make sure to adjust ci-complete.yml |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …er/internals/OAuthBearerClientInitialResponseTest.java | 102 | assertEquals("user@example.com", response.authorizationId()); |
| LOW | …er/internals/OAuthBearerClientInitialResponseTest.java | 114 | assertEquals("user@example.com", response.authorizationId()); |
| LOW | …er/internals/OAuthBearerClientInitialResponseTest.java | 125 | assertEquals("user@example.com", response.authorizationId()); |
| LOW | …pache/kafka/connect/file/FileStreamSourceTaskTest.java | 135 | "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...\n".getBy |
| LOW | …pache/kafka/connect/file/FileStreamSourceTaskTest.java | 135 | "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...\n".getBy |