repo
stringclasses
454 values
file_path
stringlengths
5
201
extension
stringclasses
1 value
content
stringlengths
8
509k
num_lines
int64
3
16.9k
size_bytes
int64
8
511k
confluent-kafka-python
tests/integration/share_consumer/conftest.py
.py
"""Per-directory pytest fixtures for share consumer integration tests.""" import sys import pytest @pytest.fixture(scope='module', autouse=True) def _delete_share_test_topics(kafka_cluster): """Cleanup of share-consumer test topics after the module finishes. Tests create topics with deterministic prefixes ...
36
1,308
confluent-kafka-python
tests/integration/producer/test_producer_wakeable_poll_flush.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
202
7,622
confluent-kafka-python
tests/integration/producer/test_transactions.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
222
6,721
confluent-kafka-python
tests/integration/admin/test_incremental_alter_configs.py
.py
# -*- coding: utf-8 -*- # Copyright 2023 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
198
5,980
confluent-kafka-python
tests/integration/admin/test_list_offsets.py
.py
# -*- coding: utf-8 -*- # Copyright 2023 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
87
3,175
confluent-kafka-python
tests/integration/admin/test_user_scram_credentials.py
.py
# -*- coding: utf-8 -*- # Copyright 2023 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
134
4,609
confluent-kafka-python
tests/integration/admin/test_describe_operations.py
.py
# -*- coding: utf-8 -*- # Copyright 2022 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
246
7,693
confluent-kafka-python
tests/integration/admin/test_delete_records.py
.py
# -*- coding: utf-8 -*- # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
138
5,138
confluent-kafka-python
tests/integration/admin/test_basic_operations.py
.py
# -*- coding: utf-8 -*- # Copyright 2022 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
427
14,992
confluent-kafka-python
tests/integration/schema_registry/_async/test_avro_serializers.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
362
12,050
confluent-kafka-python
tests/integration/schema_registry/_async/test_json_serializers.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
471
14,886
confluent-kafka-python
tests/integration/schema_registry/_async/test_dlq.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
105
3,770
confluent-kafka-python
tests/integration/schema_registry/_async/test_proto_serializers.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
169
6,319
confluent-kafka-python
tests/integration/schema_registry/_async/test_api_client.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
510
17,843
confluent-kafka-python
tests/integration/schema_registry/_sync/test_avro_serializers.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
362
11,730
confluent-kafka-python
tests/integration/schema_registry/_sync/test_json_serializers.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
471
14,505
confluent-kafka-python
tests/integration/schema_registry/_sync/test_dlq.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
105
3,690
confluent-kafka-python
tests/integration/schema_registry/_sync/test_proto_serializers.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
169
6,117
confluent-kafka-python
tests/integration/schema_registry/_sync/test_api_client.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
510
17,273
confluent-kafka-python
tests/_util/test_librdkafka_string_parser.py
.py
# Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
227
7,702
confluent-kafka-python
tests/avro/data_gen.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
101
2,738
confluent-kafka-python
tests/avro/test_cached_client.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
268
9,854
confluent-kafka-python
tests/avro/test_util.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
45
1,395
confluent-kafka-python
tests/avro/mock_schema_registry_client.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
192
6,566
confluent-kafka-python
tests/avro/test_avro_producer.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
127
6,156
confluent-kafka-python
tests/avro/mock_registry.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
197
6,635
confluent-kafka-python
tests/avro/test_mock_client.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
121
4,177
confluent-kafka-python
tests/avro/test_message_serializer.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
102
3,694
confluent-kafka-python
tests/common/__init__.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
315
12,136
confluent-kafka-python
tests/common/_async/consumer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
107
3,515
confluent-kafka-python
tests/common/_async/producer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
106
3,853
confluent-kafka-python
tests/common/schema_registry/__init__.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
36
1,321
confluent-kafka-python
tests/ducktape/producer_strategy.py
.py
""" Producer strategies for testing sync and async Kafka producers. This module contains strategy classes that encapsulate the different producer implementations (sync vs async) with consistent interfaces for testing. """ import asyncio import json import os import time import uuid from confluent_kafka import Produc...
582
25,472
confluent-kafka-python
tests/ducktape/test_producer.py
.py
""" Ducktape test for Confluent Kafka Python Producer Assumes Kafka is already running on localhost:9092 """ import time from ducktape.mark import matrix from ducktape.tests.test import Test from tests.ducktape.producer_benchmark_metrics import ( MetricsBounds, MetricsCollector, print_metrics_report, ...
523
21,894
confluent-kafka-python
tests/ducktape/run_ducktape_test.py
.py
#!/usr/bin/env python3 """ Unified test runner for Ducktape Producer and Consumer tests """ import argparse import os import subprocess import sys import tempfile from datetime import datetime import ducktape def get_test_info(test_type): """Get test file and description based on test type""" test_info = { ...
185
5,594
confluent-kafka-python
tests/ducktape/test_consumer.py
.py
""" Ducktape test for Confluent Kafka Python Consumer Assumes Kafka is already running on localhost:9092 """ import asyncio import json import time import uuid import pytest from ducktape.mark import matrix from ducktape.tests.test import Test from confluent_kafka import Producer from confluent_kafka.schema_registry...
659
28,557
confluent-kafka-python
tests/ducktape/producer_benchmark_metrics.py
.py
""" Producer benchmark metrics collection and validation for Kafka performance testing. Implements comprehensive metrics tracking including latency percentiles, per-topic/partition breakdowns, memory monitoring, and batch efficiency analysis. """ import json import os import statistics import time from collections im...
419
17,159
confluent-kafka-python
tests/ducktape/test_transactions.py
.py
""" Ducktape tests for transactions in async producer and consumer. """ import asyncio import uuid from ducktape.tests.test import Test from tests.ducktape.consumer_strategy import AsyncConsumerStrategy, SyncConsumerStrategy from tests.ducktape.producer_strategy import AsyncProducerStrategy, SyncProducerStrategy fro...
310
13,171
confluent-kafka-python
tests/ducktape/consumer_strategy.py
.py
""" Consumer strategies for testing sync and async Kafka consumers. This module contains strategy classes that encapsulate the different consumer implementations (sync vs async) with consistent interfaces for testing. """ import asyncio import json import os import time from confluent_kafka import Consumer from conf...
592
22,188
confluent-kafka-python
tests/ducktape/consumer_benchmark_metrics.py
.py
""" Consumer benchmark metrics collection and validation for Kafka performance testing. Implements consumer-specific metrics tracking including poll latencies, consumption rates, per-topic breakdowns, and reliability analysis. """ import statistics import time from collections import defaultdict from typing import An...
385
15,965
confluent-kafka-python
tests/ducktape/services/kafka.py
.py
""" Kafka client wrapper for Ducktape tests Assumes Kafka is already running on localhost:9092 """ import time from ducktape.services.service import Service from confluent_kafka.admin import AdminClient, NewPartitions, NewTopic class KafkaClient(Service): """Kafka client wrapper - assumes external Kafka is run...
143
5,608
confluent-kafka-python
tests/soak/soakclient.py
.py
#!/usr/bin/env python # # Copyright 2018 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
971
37,917
confluent-kafka-python
tests/soak/setup_all_versions.py
.py
#!/usr/bin/env python3 import os import subprocess PYTHON_SOAK_TEST_BRANCH = 'master' LIBRDKAFKA_VERSIONS = [ '2.15.0', '2.14.2', '2.13.2', '2.13.0', '2.12.1', '2.11.1', '2.10.1', '2.8.0', '2.6.1', '2.5.3', '2.4.0', '2.3.0', '2.2.0', '2.1.1', '2.0.2', ] PYT...
67
1,671
confluent-kafka-python
tests/schema_registry/test_azure_client.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
100
4,043
confluent-kafka-python
tests/schema_registry/test_hcvault_driver.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
156
6,171
confluent-kafka-python
tests/schema_registry/test_wildcard_matcher.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
50
1,997
confluent-kafka-python
tests/schema_registry/test_azure_aead.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
142
5,166
confluent-kafka-python
tests/schema_registry/test_azure_driver.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
123
4,504
confluent-kafka-python
tests/schema_registry/test_schema_id.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
117
3,532
confluent-kafka-python
tests/schema_registry/test_json_codec.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
132
4,738
confluent-kafka-python
tests/schema_registry/test_encrypt_executor.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
87
3,232
confluent-kafka-python
tests/schema_registry/test_dlq_action.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
345
13,019
confluent-kafka-python
tests/schema_registry/conftest.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
472
19,797
confluent-kafka-python
tests/schema_registry/_async/test_avro.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
307
11,648
confluent-kafka-python
tests/schema_registry/_async/test_proto.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
161
5,115
confluent-kafka-python
tests/schema_registry/_async/test_config.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
439
15,474
confluent-kafka-python
tests/schema_registry/_async/test_dlq_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
659
26,958
confluent-kafka-python
tests/schema_registry/_async/test_proto_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
959
36,459
confluent-kafka-python
tests/schema_registry/_async/test_api_client.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
608
19,750
confluent-kafka-python
tests/schema_registry/_async/test_json_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
1,867
66,005
confluent-kafka-python
tests/schema_registry/_async/test_bearer_field_provider.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
319
11,686
confluent-kafka-python
tests/schema_registry/_async/test_json.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2023 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
199
6,938
confluent-kafka-python
tests/schema_registry/_async/test_avro_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
3,285
104,234
confluent-kafka-python
tests/schema_registry/_sync/test_avro.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
301
11,154
confluent-kafka-python
tests/schema_registry/_sync/test_proto.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
161
5,085
confluent-kafka-python
tests/schema_registry/_sync/test_config.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
439
15,292
confluent-kafka-python
tests/schema_registry/_sync/test_dlq_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
649
26,171
confluent-kafka-python
tests/schema_registry/_sync/test_proto_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
959
35,093
confluent-kafka-python
tests/schema_registry/_sync/test_api_client.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
606
18,875
confluent-kafka-python
tests/schema_registry/_sync/test_json_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
1,867
63,994
confluent-kafka-python
tests/schema_registry/_sync/test_bearer_field_provider.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
318
11,358
confluent-kafka-python
tests/schema_registry/_sync/test_json.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2023 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
199
6,743
confluent-kafka-python
tests/schema_registry/_sync/test_avro_serdes.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
3,285
101,212
confluent-kafka-python
scripts/update-changelog.py
.py
#!/usr/bin/env python3 """update-changelog.py - Prepend unreleased commits to CHANGELOG.md Commits with 'fix' in the title or body go in the Fixes section. All other commits go in the Enhancements section. Usage: python3 scripts/update-changelog.py [new_version] [--dry-run] Arguments: new_version Version st...
154
4,671
confluent-kafka-python
examples/get_watermark_offsets.py
.py
#!/usr/bin/env python3 # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
77
2,552
confluent-kafka-python
examples/protobuf_consumer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
85
3,040
confluent-kafka-python
examples/json_producer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
175
5,789
confluent-kafka-python
examples/protobuf_producer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
123
4,600
confluent-kafka-python
examples/share_consumer_commit_async.py
.py
#!/usr/bin/env python # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
112
4,191
confluent-kafka-python
examples/context_manager_example.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
130
4,630
confluent-kafka-python
examples/json_consumer_encryption.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
129
4,693
confluent-kafka-python
examples/schema_registry_imds_azure.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
50
1,716
confluent-kafka-python
examples/oauth_oidc_ccloud_azure_imds_producer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
203
7,209
confluent-kafka-python
examples/avro_consumer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
121
3,819
confluent-kafka-python
examples/oauth_schema_registry.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2025 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
129
5,075
confluent-kafka-python
examples/adminapi.py
.py
#!/usr/bin/env python # # Copyright 2018 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
1,118
41,049
confluent-kafka-python
examples/eos_transactions.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
191
6,756
confluent-kafka-python
examples/share_consumer_commit_sync.py
.py
#!/usr/bin/env python # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
115
4,203
confluent-kafka-python
examples/consumer.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
123
3,885
confluent-kafka-python
examples/protobuf_consumer_encryption.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
109
4,327
confluent-kafka-python
examples/confluent_cloud.py
.py
#!/usr/bin/env python # # Copyright 2018 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
148
5,072
confluent-kafka-python
examples/producer.py
.py
#!/usr/bin/env python # # Copyright 2016 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
69
2,317
confluent-kafka-python
examples/avro_consumer_encryption.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
131
4,688
confluent-kafka-python
examples/sasl_producer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
136
4,701
confluent-kafka-python
examples/oauth_producer.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2020 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
128
4,893
confluent-kafka-python
examples/protobuf_producer_encryption.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
159
6,239
confluent-kafka-python
examples/asyncio_example.py
.py
#!/usr/bin/env python # # Copyright 2019 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
229
8,819
confluent-kafka-python
examples/avro_producer_encryption.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
212
7,596
confluent-kafka-python
examples/oauth_oidc_ccloud_aws_iam.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2026 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
206
7,121
confluent-kafka-python
examples/json_producer_encryption.py
.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2024 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
213
7,419