Apache Pulsar - distributed pub-sub messaging system
594 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …g/apache/pulsar/websocket/proxy/ProxyRoleAuthTest.java | 392 | org.apache.pulsar.common.policies.data.ClusterData.builder() |
| CRITICAL | …g/apache/pulsar/websocket/proxy/ProxyRoleAuthTest.java | 406 | org.apache.pulsar.common.policies.data.TenantInfoImpl.builder() |
| CRITICAL | …ction/pendingack/impl/MetadataPendingAckStoreTest.java | 158 | new org.apache.pulsar.broker.transaction.metadata.TxnEvent( |
| CRITICAL | …ction/pendingack/impl/MetadataPendingAckStoreTest.java | 185 | new org.apache.pulsar.broker.transaction.metadata.TxnEvent( |
| CRITICAL | …ction/pendingack/impl/MetadataPendingAckStoreTest.java | 237 | return new org.apache.pulsar.metadata.api.ScanConsumer() { |
| CRITICAL | …saction/buffer/impl/MetadataTransactionBufferTest.java | 204 | new org.apache.pulsar.broker.transaction.metadata.SegmentWatermark(5, 0), |
| CRITICAL | …saction/buffer/impl/MetadataTransactionBufferTest.java | 229 | new org.apache.pulsar.broker.transaction.metadata.SegmentWatermark(5, 0), |
| CRITICAL | …saction/buffer/impl/MetadataTransactionBufferTest.java | 261 | new org.apache.pulsar.broker.transaction.metadata.SegmentWatermark(5, 0), |
| CRITICAL | …saction/buffer/impl/MetadataTransactionBufferTest.java | 336 | new org.apache.pulsar.broker.transaction.metadata.SegmentWatermark(5, 0), |
| CRITICAL | …saction/buffer/impl/MetadataTransactionBufferTest.java | 371 | new org.apache.pulsar.metadata.api.ScanConsumer() { |
| CRITICAL | …lsar/broker/loadbalance/SimpleLoadManagerImplTest.java | 296 | new org.apache.pulsar.policies.data.loadbalancer.LoadReport(); |
| CRITICAL | …lsar/broker/loadbalance/SimpleLoadManagerImplTest.java | 373 | new org.apache.pulsar.policies.data.loadbalancer.LoadReport(); |
| CRITICAL | …lsar/broker/loadbalance/SimpleLoadManagerImplTest.java | 426 | new org.apache.pulsar.policies.data.loadbalancer.LoadReport(); |
| CRITICAL | …lsar/broker/loadbalance/SimpleLoadManagerImplTest.java | 430 | new org.apache.pulsar.policies.data.loadbalancer.LoadReport(); |
| CRITICAL | …xtensions/AntiAffinityNamespaceGroupExtensionTest.java | 99 | org.apache.commons.lang3.reflect.FieldUtils.readDeclaredField(antiAffinityGroupPolicyHelper, |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 92 | new org.apache.pulsar.common.policies.data.ResourceGroup(); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 152 | new org.apache.pulsar.common.policies.data.ResourceGroup(); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 166 | new org.apache.pulsar.common.policies.data.ResourceGroup(); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 281 | service.resourceGroupCreate(rg, new org.apache.pulsar.common.policies.data.ResourceGroup()); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 350 | rgs.resourceGroupCreate(rgName, new org.apache.pulsar.common.policies.data.ResourceGroup()); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 430 | rgs.resourceGroupCreate(rg, new org.apache.pulsar.common.policies.data.ResourceGroup()); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 471 | rgs.resourceGroupCreate(rg, new org.apache.pulsar.common.policies.data.ResourceGroup()); |
| CRITICAL | …sar/broker/resourcegroup/ResourceGroupServiceTest.java | 507 | rgs.resourceGroupCreate(rg, new org.apache.pulsar.common.policies.data.ResourceGroup()); |
| CRITICAL | …r/resourcegroup/ResourceGroupUsageAggregationTest.java | 252 | new org.apache.pulsar.common.policies.data.ResourceGroup(); |
| CRITICAL | …broker/resourcegroup/ResourceGroupRateLimiterTest.java | 44 | new org.apache.pulsar.common.policies.data.ResourceGroup(); |
| CRITICAL | …ker/resourcegroup/RGUsageMTAggrWaitForAllMsgsTest.java | 783 | new org.apache.pulsar.common.policies.data.ResourceGroup(); |
| CRITICAL | …/org/apache/pulsar/broker/admin/TopicPoliciesTest.java | 4691 | org.apache.pulsar.common.util.ObjectMapperFactory.getThreadLocal().writeValueAsBytes(policies), |
| CRITICAL | …che/pulsar/broker/intercept/BrokerInterceptorTest.java | 281 | javax.ws.rs.core.Response.noContent().build().getStatus()); |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 149 | io.opentelemetry.api.common.AttributeKey.stringKey("messaging.system")), "pulsar"); |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 158 | io.opentelemetry.api.common.AttributeKey.stringKey("messaging.system")), "pulsar"); |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 160 | io.opentelemetry.api.common.AttributeKey.stringKey("messaging.pulsar.acknowledgment.type")), |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 267 | io.opentelemetry.api.common.AttributeKey.stringKey("messaging.pulsar.acknowledgment.type")), |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 315 | io.opentelemetry.api.common.AttributeKey.stringKey( |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 369 | io.opentelemetry.api.common.AttributeKey.stringKey( |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 519 | io.opentelemetry.api.common.AttributeKey.stringKey( |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 624 | io.opentelemetry.api.common.AttributeKey.stringKey( |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 678 | io.opentelemetry.api.common.AttributeKey.stringKey( |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 750 | io.opentelemetry.api.common.AttributeKey.stringKey( |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 814 | io.opentelemetry.api.common.AttributeKey.stringKey("messaging.system"))); |
| CRITICAL | …roker/service/OpenTelemetryTracingIntegrationTest.java | 816 | io.opentelemetry.api.common.AttributeKey.stringKey("messaging.system")), "pulsar"); |
| CRITICAL | …schema/ProtobufNativeSchemaCompatibilityCheckTest.java | 33 | getSchemaData(org.apache.pulsar.client.api.schema.proto.Test.TestMessage.getDescriptor()); |
| CRITICAL | …schema/ProtobufNativeSchemaCompatibilityCheckTest.java | 36 | getSchemaData(org.apache.pulsar.client.api.schema.proto.Test.SubMessage.getDescriptor()); |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 536 | org.apache.pulsar.common.scalable.SegmentInfo seg0 = new org.apache.pulsar.common.scalable.SegmentInfo( |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 538 | org.apache.pulsar.common.scalable.HashRange.of(0x0000, 0x3FFF), |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 543 | org.apache.pulsar.common.scalable.SegmentInfo seg1 = new org.apache.pulsar.common.scalable.SegmentInfo( |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 545 | org.apache.pulsar.common.scalable.HashRange.of(0x4000, 0x7FFF), |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 549 | org.apache.pulsar.common.scalable.SegmentInfo seg2 = new org.apache.pulsar.common.scalable.SegmentInfo( |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 551 | org.apache.pulsar.common.scalable.HashRange.of(0x8000, 0xFFFF), |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 616 | new org.apache.pulsar.client.admin.PulsarAdminException.NotFoundException( |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 633 | new org.apache.pulsar.client.admin.PulsarAdminException( |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 653 | new org.apache.pulsar.client.admin.PulsarAdminException( |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 702 | clock.set(startMs + java.util.concurrent.TimeUnit.MINUTES.toMillis(1) + 1_000L); |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 788 | new org.apache.pulsar.common.policies.data.Policies(); |
| CRITICAL | …oker/service/scalable/ScalableTopicControllerTest.java | 790 | new org.apache.pulsar.common.policies.data.RetentionPolicies( |
| CRITICAL | …che/pulsar/broker/stats/MetricsAuthenticationTest.java | 57 | Client client = javax.ws.rs.client.ClientBuilder.newClient(new ClientConfig().register(LoggingFeature.class)); |
| CRITICAL | …che/pulsar/broker/stats/MetricsAuthenticationTest.java | 66 | Client client = javax.ws.rs.client.ClientBuilder.newClient(new ClientConfig().register(LoggingFeature.class)); |
| CRITICAL | …pulsar/broker/stats/OpenTelemetryCustomLabelsTest.java | 228 | .get(io.opentelemetry.api.common.AttributeKey.stringKey("sla_tier")) != null); |
| CRITICAL | …t/java/org/apache/pulsar/io/PulsarFunctionTlsTest.java | 213 | org.apache.pulsar.functions.worker.scheduler.RoundRobinScheduler.class.getName()); |
| CRITICAL | …java/org/apache/pulsar/io/PulsarFunctionAdminTest.java | 198 | org.apache.pulsar.functions.worker.scheduler.RoundRobinScheduler.class.getName()); |
| CRITICAL | …t/java/org/apache/pulsar/io/AbstractPulsarE2ETest.java | 291 | org.apache.pulsar.functions.worker.scheduler.RoundRobinScheduler.class.getName()); |
| 164 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .asf.yaml | 1 | # |
| LOW | codecov.yml | 1 | # |
| LOW | docker/get-version.sh | 1 | #!/usr/bin/env bash |
| LOW | docker/publish.sh | 1 | #!/usr/bin/env bash |
| LOW | docker/build.sh | 1 | #!/usr/bin/env bash |
| LOW | docker/pulsar/scripts/apply-config-from-env.py | 1 | #!/usr/bin/env python3 |
| LOW | docker/pulsar/scripts/gen-yml-from-env.py | 1 | #!/usr/bin/env python3 |
| LOW | docker/pulsar/scripts/update-ini-from-env.py | 1 | #!/usr/bin/env python3 |
| LOW | docker/pulsar/scripts/generate-zookeeper-config.sh | 1 | #!/usr/bin/env bash |
| LOW | docker/pulsar/scripts/update-rocksdb-conf-from-env.py | 1 | #!/usr/bin/env python3 |
| LOW | …er/pulsar/scripts/apply-config-from-env-with-prefix.py | 1 | #!/usr/bin/env bash |
| LOW | …er/pulsar/scripts/apply-config-from-env-with-prefix.py | 21 | ############################################################ |
| LOW | docker/pulsar/scripts/watch-znode.py | 1 | #!/usr/bin/env python3 |
| LOW | docker/pulsar/scripts/pulsar-zookeeper-ruok.sh | 1 | #!/usr/bin/env bash |
| LOW | …ar/build-scripts/remove-unnecessary-native-binaries.sh | 1 | #!/usr/bin/env sh |
| LOW | …saction/buffer/impl/MetadataTransactionBufferTest.java | 181 | // (committed) or never existed. Either way: visible/committed-default. |
| LOW | …ce/extensions/channel/ServiceUnitStateChannelTest.java | 2021 | // targeting this broker to Owned, simulating the broker-restart recovery scenario. |
| LOW | …apache/pulsar/broker/service/OneWayReplicatorTest.java | 1781 | }); |
| LOW | …apache/pulsar/broker/service/OneWayReplicatorTest.java | 1821 | log.info().attr("topicConnected", topicConnected).attr("topicDisconnected", topicDisconnected).log("done"); |
| LOW | …va/org/apache/pulsar/broker/service/BrokerService.java | 3901 | |
| LOW | …istentStickyKeyDispatcherMultipleConsumersClassic.java | 461 | // when consumer1 get message 2,3, the broker will not dispatch messages to consumer1 |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 281 | } |
| LOW | …stats/prometheus/metrics/PrometheusTextFormatUtil.java | 61 | // quantile="0.75"} NaN |
| LOW | pulsar-function-go/golangci.yml | 1 | # |
| LOW | pulsar-function-go/pb/Request.pb.go | 1 | // |
| LOW | pulsar-function-go/pb/Function.pb.go | 1 | // |
| LOW | pulsar-function-go/pb/InstanceCommunication_grpc.pb.go | 1 | // |
| LOW | pulsar-function-go/pb/doc.go | 1 | // |
| LOW | pulsar-function-go/pb/doc.go | 21 | // uses for the client/broker wire protocol. |
| LOW | pulsar-function-go/pb/generate.sh | 1 | #!/usr/bin/env bash |
| LOW | pulsar-function-go/pb/generate.sh | 21 | # Bash script to automate the generation of the api package using Docker. |
| LOW | pulsar-function-go/pb/generate.sh | 101 | // distributed with this work for additional information |
| LOW | pulsar-function-go/pb/generate.sh | 161 | cat <<EOF >"${outDir}/doc.go" |
| LOW | pulsar-function-go/pb/generate.sh | 181 | // Package ${pkg} provides the protocol buffer messages that Pulsar |
| LOW | pulsar-function-go/pb/InstanceCommunication.pb.go | 1 | // |
| LOW | pulsar-function-go/pb/InstanceCommunication.pb.go | 61 | // |
| LOW | pulsar-function-go/pf/function_test.go | 1 | // |
| LOW | pulsar-function-go/pf/instanceConf.go | 1 | // |
| LOW | pulsar-function-go/pf/topicName.go | 1 | // |
| LOW | pulsar-function-go/pf/instance.go | 1 | // |
| LOW | pulsar-function-go/pf/util_test.go | 1 | // |
| LOW | pulsar-function-go/pf/topicName_test.go | 1 | // |
| LOW | pulsar-function-go/pf/mockMessage_test.go | 1 | // |
| LOW | pulsar-function-go/pf/util.go | 1 | // |
| LOW | pulsar-function-go/pf/logAppender.go | 1 | // |
| LOW | pulsar-function-go/pf/context_test.go | 1 | // |
| LOW | pulsar-function-go/pf/stats.go | 1 | // |
| LOW | pulsar-function-go/pf/instance_test.go | 1 | // |
| LOW | pulsar-function-go/pf/instanceConf_test.go | 1 | // |
| LOW | pulsar-function-go/pf/context.go | 1 | // |
| LOW | pulsar-function-go/pf/instanceControlServicer_test.go | 1 | // |
| LOW | pulsar-function-go/pf/instanceControlServicer.go | 1 | // |
| LOW | pulsar-function-go/pf/function.go | 1 | // |
| LOW | pulsar-function-go/pf/function.go | 141 | return val, err |
| LOW | pulsar-function-go/pf/stats_test.go | 1 | // |
| LOW | pulsar-function-go/examples/outputFunc/outputFunc.go | 1 | // |
| LOW | …unction-go/examples/exclamationFunc/exclamationFunc.go | 1 | // |
| LOW | pulsar-function-go/examples/contextFunc/contextFunc.go | 1 | // |
| LOW | pulsar-function-go/examples/publishFunc/publishFunc.go | 1 | // |
| LOW | pulsar-function-go/examples/logFunc/logFunc.go | 1 | // |
| 195 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pip/pip-259.md | 0 | the maximum size in bytes of the request header. larger headers will allow for more and/or larger cookies plus larger fo |
| HIGH | pip/pip-259.md | 0 | the maximum size in bytes of the request header. larger headers will allow for more and/or larger cookies plus larger fo |
| HIGH | …org/apache/pulsar/proxy/server/ProxyConfiguration.java | 0 | the maximum size in bytes of the request header. larger headers will allow for more and/or larger cookies plus larger fo |
| HIGH | …ava/org/apache/pulsar/broker/ServiceConfiguration.java | 0 | the maximum size in bytes of the request header. larger headers will allow for more and/or larger cookies plus larger fo |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| HIGH | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 0 | missing associated documentation comment in .proto file. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …apache/pulsar/broker/service/OneWayReplicatorTest.java | 1498 | // Step 1: Inject an error to make the replicator is not able to work. |
| LOW | …apache/pulsar/broker/service/OneWayReplicatorTest.java | 1502 | // Step 2: Send one message, since the replicator does not work anymore, this message will not be replicated. |
| LOW | …apache/pulsar/broker/service/OneWayReplicatorTest.java | 1512 | // Step 3: Unload topic, the replicator will be re-created. |
| LOW | …lsar/client/api/v5/V5MultiBrokerScalableTopicTest.java | 345 | // Step 1: force controller materialization + leader election on every broker. |
| LOW | …lsar/client/api/v5/V5MultiBrokerScalableTopicTest.java | 350 | // Step 2: wait until each broker's metadata store sees the controller-lock znode. |
| LOW | …org/apache/pulsar/broker/namespace/OwnershipCache.java | 169 | // If we're not the owner, we need to check if anybody else is |
| LOW | …sar/broker/service/schema/BookkeeperSchemaStorage.java | 350 | // Step 1: Store the schema data into a new BookKeeper ledger |
| LOW | …sar/broker/service/schema/BookkeeperSchemaStorage.java | 360 | // Step 2: Create the schema locator z-node pointing to the ledger |
| LOW | …sar/broker/service/schema/BookkeeperSchemaStorage.java | 368 | // Step 3: Handle failure by cleaning up the orphan ledger |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 423 | // Step 3: Terminate the parent segment topic so producers get TopicTerminated |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 426 | // Step 4: Atomic metadata update (only after topics + cursors are ready + parent terminated) |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 436 | // Step 5: Notify subscriptions of layout change (triggers consumer reassignment) |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 462 | // Step 1: Read the scalable topic's subscriptions from metadata (single source of |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 468 | // Step 2: Terminate both parent segment topics |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 472 | // Step 3: Atomic metadata update (only after topic + cursors are ready + parents terminated) |
| LOW | …r/broker/service/scalable/ScalableTopicController.java | 412 | // Step 1: Read the scalable topic's subscriptions from metadata (the single source |
| LOW | …broker/authentication/ProxySaslAuthenticationTest.java | 227 | // Step 1: Create Admin Client |
| LOW | …broker/authentication/ProxySaslAuthenticationTest.java | 269 | // Step 3: Pass correct client params |
| LOW | …ache/pulsar/proxy/server/ProxyForwardAuthDataTest.java | 88 | // Step 1: Create Admin Client |
| LOW | …ache/pulsar/proxy/server/ProxyForwardAuthDataTest.java | 102 | // Step 2: Run Pulsar Proxy without forwarding authData - expect Exception |
| LOW | …ache/pulsar/proxy/server/ProxyForwardAuthDataTest.java | 136 | // Step 3: Create proxy with forwardAuthData enabled |
| LOW | …che/pulsar/proxy/server/ProxyRolesEnforcementTest.java | 186 | // Step 1: Create Admin Client |
| LOW | …che/pulsar/proxy/server/ProxyRolesEnforcementTest.java | 202 | // Step 2: Try to use proxy Client as a normal Client - expect exception |
| LOW | …che/pulsar/proxy/server/ProxyRolesEnforcementTest.java | 212 | // Step 3: Run Pulsar Proxy and pass proxy params as client params - expect exception |
| LOW | …che/pulsar/proxy/server/ProxyRolesEnforcementTest.java | 252 | // Step 4: Pass correct client params |
| LOW | …pache/pulsar/proxy/server/ProxyAuthenticationTest.java | 272 | // Step 1: Create Admin Client |
| LOW | …pache/pulsar/proxy/server/ProxyAuthenticationTest.java | 288 | // Step 2: Try to use proxy Client as a normal Client - expect exception |
| LOW | …pache/pulsar/proxy/server/ProxyAuthenticationTest.java | 317 | // Step 3: Pass correct client params and use multiple connections |
| LOW | …pache/pulsar/proxy/server/ProxyAuthenticationTest.java | 324 | // Step 4: Ensure that all client contexts share the same auth provider |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …atest-version-image/python-examples/producer_schema.py | 22 | |
| LOW | …atest-version-image/python-examples/consumer_schema.py | 22 | |
| LOW | …functions/python-examples/avro_schema_test_function.py | 22 | |
| LOW | …tions/instance/src/test/python/test_python_instance.py | 28 | |
| LOW | …tions/instance/src/main/python/python_instance_main.py | 34 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 20 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 28 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 30 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 30 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 30 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 31 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 32 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 32 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 35 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 37 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 37 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 37 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 38 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 38 | |
| LOW | …ions/instance/src/main/python/prometheus_client_fix.py | 38 | |
| LOW | …sar-functions/instance/src/main/python/Function_pb2.py | 9 | |
| LOW | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 4 | |
| LOW | …/instance/src/main/python/InstanceCommunication_pb2.py | 9 | |
| LOW | …/instance/src/main/python/InstanceCommunication_pb2.py | 17 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …pache/pulsar/socks5/handler/CommandRequestHandler.java | 40 | public class CommandRequestHandler extends SimpleChannelInboundHandler<DefaultSocks5CommandRequest> { |
| LOW | …/pulsar/socks5/handler/PasswordAuthRequestHandler.java | 32 | public class PasswordAuthRequestHandler extends SimpleChannelInboundHandler<DefaultSocks5PasswordAuthRequest> { |
| LOW | …pache/pulsar/socks5/handler/InitialRequestHandler.java | 31 | public class InitialRequestHandler extends SimpleChannelInboundHandler<DefaultSocks5InitialRequest> { |
| LOW | …va/org/apache/pulsar/client/api/MockBrokerService.java | 86 | private class GenericResponseHandler extends AbstractHandler { |
| LOW | …tions/instance/src/test/python/test_python_instance.py | 75 | def test_context_ack_partitionedtopic(self): |
| LOW | …tions/instance/src/test/python/test_secretsprovider.py | 35 | def test_cleartext_secretsprovider(self): |
| LOW | …tions/instance/src/test/python/test_secretsprovider.py | 44 | def test_environment_secretsprovider(self): |
| LOW | …tions/instance/src/main/python/python_instance_main.py | 59 | def generate_arguments_parser(): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 111 | def get_total_processed_successfully(self): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 117 | def get_total_user_exceptions(self): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 149 | def incr_total_processed_successfully(self): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 153 | def incr_total_sys_exceptions(self, exception): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 158 | def incr_total_user_exceptions(self, exception): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 193 | def report_user_exception_prometheus(self, exception): |
| LOW | …r-functions/instance/src/main/python/function_stats.py | 211 | def report_system_exception_prometheus(self, exception): |
| LOW | …lsar-functions/instance/src/main/python/contextimpl.py | 73 | def set_current_message_context(self, message, topic): |
| LOW | …lsar-functions/instance/src/main/python/contextimpl.py | 89 | def get_current_message_topic_name(self): |
| LOW | …lsar-functions/instance/src/main/python/contextimpl.py | 100 | def get_message_partition_index(self): |
| LOW | …lsar-functions/instance/src/main/python/contextimpl.py | 156 | def get_output_serde_class_name(self): |
| LOW | …-functions/instance/src/main/python/python_instance.py | 132 | def process_spawner_health_check_timer(self): |
| LOW | …e/pulsar/functions/worker/FunctionMetaDataManager.java | 61 | public class FunctionMetaDataManager implements AutoCloseable { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …va/org/apache/pulsar/broker/service/ServerCnxTest.java | 1367 | // This test is an example of https://github.com/apache/pulsar/issues/19332. Essentially, we're passing |
| MEDIUM | bin/pulsar-admin-common.sh | 140 | # Netty cannot utilize resources from the memory pool and must frequently allocate native memory. |
| MEDIUM | …e/pulsar/common/util/collections/BitSetRecyclable.java | 32 | * Provides {@link BitSetRecyclable#resetWords(long[])} method and leverage with netty recycler. |
| MEDIUM | …tor/NameAndConfigBasedSecretsProviderConfigurator.java | 50 | // environment variables way. Essentially the secretName/secretPath is |
| MEDIUM | …onfigurator/KubernetesSecretsProviderConfigurator.java | 69 | // environment variables way. Essentially the secretName/secretPath |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pulsar-functions/instance/src/main/python/log.py | 31 | # Create the logger |
| MEDIUM | …ance/src/main/python/InstanceCommunication_pb2_grpc.py | 117 | # This class is part of an EXPERIMENTAL API. |
| MEDIUM | src/update_python_protobuf_stubs_with_docker.sh | 23 | # Create an inline docker container with alpine:3.23 base image and mount the current directory to it as the |
| MEDIUM | src/update_python_protobuf_stubs.sh | 29 | # Create a temporary virtual environment to avoid polluting the global Python environment |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker/pulsar/scripts/update-ini-from-env.py | 30 | |
| LOW | docker/pulsar/scripts/update-rocksdb-conf-from-env.py | 34 | |
| LOW | …tions/instance/src/main/python/python_instance_main.py | 149 | |
| LOW | …-functions/instance/src/main/python/python_instance.py | 247 | |
| LOW | …-functions/instance/src/main/python/python_instance.py | 367 | |
| LOW | …-functions/instance/src/main/python/python_instance.py | 543 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …er/pulsar/scripts/apply-config-from-env-with-prefix.py | 38 | SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pulsar-functions/instance/src/main/python/util.py | 44 | except Exception as e: |
| LOW | pulsar-functions/instance/src/main/python/util.py | 49 | except Exception as e: |
| LOW | …-functions/instance/src/main/python/python_instance.py | 282 | except Exception as e: |
| LOW | …-functions/instance/src/main/python/python_instance.py | 295 | except Exception as e: |
| LOW | …-functions/instance/src/main/python/python_instance.py | 593 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/pulsar-ci.yaml | 31 | # if cron expression is changed, make sure to update the expression in jdk_major_version step in preconditions job |
| LOW | .github/workflows/pulsar-ci-flaky.yaml | 31 | # if cron expression is changed, make sure to update the expression in jdk_major_version step in preconditions job |
| LOW | …tions/instance/src/main/python/python_instance_main.py | 314 | # make sure to close all non-daemon threads before this! |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …mon/compression/CompressorCodecBackwardCompatTest.java | 34 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id massa odio. Duis commodo ligula sed " |
| LOW | …mon/compression/CompressorCodecBackwardCompatTest.java | 34 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id massa odio. Duis commodo ligula sed " |
| LOW | …che/pulsar/common/compression/CompressorCodecTest.java | 35 | private static final String text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id massa odio. " |
| LOW | …che/pulsar/common/compression/CompressorCodecTest.java | 35 | private static final String text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id massa odio. " |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | gradle/setup-test-gpg.sh | 24 | # Usage: |