├── .bumpversion.cfg ├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.md ├── README.rst ├── benchmarks ├── 1k ├── 2k ├── default ├── perf_get_records.py └── perf_put_records.py ├── changelog.rst ├── datahub ├── __init__.py ├── auth │ ├── __init__.py │ ├── aliyun_account.py │ └── core.py ├── batch │ ├── __init__.py │ ├── batch_binary_record.py │ ├── batch_header.py │ ├── batch_serializer.py │ ├── binary_record.py │ ├── record_header.py │ ├── schema_registry_client.py │ └── utils.py ├── client │ ├── __init__.py │ ├── common │ │ ├── __init__.py │ │ ├── config.py │ │ ├── constant.py │ │ ├── datahub_factory.py │ │ ├── library_factory.py │ │ ├── meta_data.py │ │ ├── offset_meta.py │ │ ├── shard_coordinator.py │ │ ├── thread_pool.py │ │ └── timer.py │ ├── consumer │ │ ├── __init__.py │ │ ├── consumer_coordinator.py │ │ ├── consumer_heartbeat.py │ │ ├── datahub_consumer.py │ │ ├── message_key.py │ │ ├── message_reader.py │ │ ├── offset_coordinator.py │ │ ├── offset_manager.py │ │ ├── offset_select_strategy.py │ │ ├── shard_group_reader.py │ │ ├── shard_reader.py │ │ └── sync_group_meta.py │ └── producer │ │ ├── __init__.py │ │ ├── datahub_producer.py │ │ ├── message_writer.py │ │ ├── record_pack.py │ │ ├── record_pack_queue.py │ │ ├── shard_group_writer.py │ │ ├── shard_writer.py │ │ └── write_result.py ├── core.py ├── exceptions.py ├── implement.py ├── models │ ├── __init__.py │ ├── compress.py │ ├── connector.py │ ├── cursor.py │ ├── params.py │ ├── record.py │ ├── results.py │ ├── schema.py │ ├── shard.py │ ├── subscription.py │ └── types.py ├── proto │ ├── __init__.py │ ├── datahub_record_proto_pb.py │ └── record.proto ├── rest.py ├── utils │ ├── __init__.py │ ├── codec.py │ ├── constants.py │ ├── converters.py │ └── validator.py └── version.py ├── dependency ├── certifi-2018.4.16-py2.py3-none-any.whl ├── chardet-3.0.4-py2.py3-none-any.whl ├── cprotobuf-0.1.9.tar.gz ├── crcmod-1.7.tar.gz ├── enum34-1.1.6.tar.gz ├── funcsigs-1.0.2-py2.py3-none-any.whl ├── future-0.16.0.tar.gz ├── idna-2.6-py2.py3-none-any.whl ├── install_dependency.sh ├── lz4-2.0.0.tar.gz ├── pip-10.0.1.tar.gz ├── pkgconfig-1.3.1.tar.gz ├── pytest-runner-4.2.tar.gz ├── readme.txt ├── requests-2.18.4-py2.py3-none-any.whl ├── setuptools-39.2.0.zip ├── setuptools_scm-2.1.0.tar.gz ├── simplejson-3.15.0.tar.gz ├── six-1.11.0-py2.py3-none-any.whl └── urllib3-1.22-py2.py3-none-any.whl ├── docs ├── Makefile ├── make.bat ├── requirements.txt └── source │ ├── _static │ ├── PyDatahub.png │ └── theme_override.css │ ├── api.rst │ ├── conf.py │ ├── index.rst │ ├── installation.rst │ ├── tutorial-client.rst │ ├── tutorial-connector.rst │ ├── tutorial-meter.rst │ ├── tutorial-offset.rst │ ├── tutorial-project.rst │ ├── tutorial-record.rst │ ├── tutorial-schema.rst │ ├── tutorial-shard.rst │ ├── tutorial-subscription.rst │ ├── tutorial-topic.rst │ └── tutorial.rst ├── examples ├── client │ ├── datahub.config.template │ ├── example_async_producer.py │ ├── example_collaborative_consumer.py │ ├── example_general_consumer.py │ └── example_general_producer.py ├── datahub │ ├── basic_example.py │ ├── blob │ │ ├── blob_topic_pub.py │ │ └── blob_topic_sub.py │ ├── consume_example.py │ └── tuple │ │ ├── tuple_topic_pub.py │ │ └── tuple_topic_sub.py └── resources │ └── datahub.png ├── readthedocs.yaml ├── requirements.txt ├── setup.py ├── test-requirements.txt ├── tests ├── datahub.ini.template ├── fixtures │ ├── projects.cursor.topics.invalid_param.shards.0.json │ ├── projects.cursor.topics.success.shards.0.json │ ├── projects.existed.json │ ├── projects.existed.topics.existed.json │ ├── projects.get.topics.blob.shards.0.bin │ ├── projects.get.topics.blob.shards.0.json │ ├── projects.get.topics.blob_batch.shards.0.bin │ ├── projects.get.topics.invalid_cursor.shards.0.json │ ├── projects.get.topics.invalid_cursor_batch.shards.0.bin │ ├── projects.get.topics.tuple.shards.0.bin │ ├── projects.get.topics.tuple.shards.0.json │ ├── projects.get.topics.tuple_batch.shards.0.bin │ ├── projects.json │ ├── projects.merge.topics.invalid_state.shards.json │ ├── projects.merge.topics.limit_exceeded.shards.json │ ├── projects.merge.topics.shards_not_adjacent.shards.json │ ├── projects.merge.topics.success.shards.json │ ├── projects.meter.topics.success.shards.0.json │ ├── projects.put.topics.invalid_state.shards.json │ ├── projects.put.topics.invalid_state_batch.shards.0.bin │ ├── projects.put.topics.limit_exceeded.shards.json │ ├── projects.put.topics.limit_exceeded_batch.shards.0.bin │ ├── projects.put.topics.malformed.shards.json │ ├── projects.put.topics.malformed_batch.shards.0.bin │ ├── projects.put.topics.success.shards.bin │ ├── projects.put.topics.success.shards.json │ ├── projects.schema.topics.delete.json │ ├── projects.schema.topics.get.json │ ├── projects.schema.topics.list.json │ ├── projects.schema.topics.register.json │ ├── projects.split.topics.default.shards.json │ ├── projects.split.topics.invalid_key.shards.json │ ├── projects.split.topics.invalid_state.shards.json │ ├── projects.split.topics.limit_exceeded.shards.json │ ├── projects.split.topics.success.shards.json │ ├── projects.success.json │ ├── projects.success.topics.blob.json │ ├── projects.success.topics.json │ ├── projects.success.topics.success.connectors.json │ ├── projects.success.topics.success.shards.json │ ├── projects.success.topics.tuple.json │ ├── projects.unexisted.json │ ├── projects.unexisted.topics.json │ ├── projects.unexisted.topics.valid.connectors.sink_odps.json │ ├── projects.unexisted.topics.valid.json │ ├── projects.unexisted.topics.valid.shards.0.json │ ├── projects.unexisted.topics.valid.shards.json │ ├── projects.unexisted.topics.valid_batch.shards.0.bin │ ├── projects.valid.topics.unexisted.connectors.sink_odps.json │ ├── projects.valid.topics.unexisted.json │ ├── projects.valid.topics.unexisted.shards.0.json │ ├── projects.valid.topics.unexisted.shards.json │ ├── projects.valid.topics.valid.connectors.sink_odps.json │ ├── projects.valid.topics.valid.shards.0.json │ ├── projects.valid.topics.valid.shards.json │ ├── projects.valid_batch.topics.unexisted.shards.0.bin │ ├── projects.valid_batch.topics.valid_batch.shards.0.bin │ ├── projects.wait.topics.ready.shards.json │ └── projects.wait.topics.unready.shards.json ├── function │ ├── test_connector.py │ ├── test_cursor.py │ ├── test_meter.py │ ├── test_offset.py │ ├── test_project.py │ ├── test_record.py │ ├── test_record_batch.py │ ├── test_schema.py │ ├── test_shard.py │ ├── test_subscription.py │ └── test_topic.py ├── resources │ └── datahub.png └── unit │ ├── __init__.py │ ├── test_batch_unit.py │ ├── test_connector_unit.py │ ├── test_cursor_unit.py │ ├── test_meter_unit.py │ ├── test_project_unit.py │ ├── test_record_unit.py │ ├── test_schema_register_unit.py │ ├── test_schema_unit.py │ ├── test_shard_unit.py │ ├── test_topic_unit.py │ └── unittest_util.py └── tox.ini /.bumpversion.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/.bumpversion.cfg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/README.md -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/README.rst -------------------------------------------------------------------------------- /benchmarks/1k: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/benchmarks/1k -------------------------------------------------------------------------------- /benchmarks/2k: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/benchmarks/2k -------------------------------------------------------------------------------- /benchmarks/default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/benchmarks/default -------------------------------------------------------------------------------- /benchmarks/perf_get_records.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/benchmarks/perf_get_records.py -------------------------------------------------------------------------------- /benchmarks/perf_put_records.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/benchmarks/perf_put_records.py -------------------------------------------------------------------------------- /changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/changelog.rst -------------------------------------------------------------------------------- /datahub/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/__init__.py -------------------------------------------------------------------------------- /datahub/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/auth/__init__.py -------------------------------------------------------------------------------- /datahub/auth/aliyun_account.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/auth/aliyun_account.py -------------------------------------------------------------------------------- /datahub/auth/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/auth/core.py -------------------------------------------------------------------------------- /datahub/batch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/__init__.py -------------------------------------------------------------------------------- /datahub/batch/batch_binary_record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/batch_binary_record.py -------------------------------------------------------------------------------- /datahub/batch/batch_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/batch_header.py -------------------------------------------------------------------------------- /datahub/batch/batch_serializer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/batch_serializer.py -------------------------------------------------------------------------------- /datahub/batch/binary_record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/binary_record.py -------------------------------------------------------------------------------- /datahub/batch/record_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/record_header.py -------------------------------------------------------------------------------- /datahub/batch/schema_registry_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/schema_registry_client.py -------------------------------------------------------------------------------- /datahub/batch/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/batch/utils.py -------------------------------------------------------------------------------- /datahub/client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/__init__.py -------------------------------------------------------------------------------- /datahub/client/common/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/__init__.py -------------------------------------------------------------------------------- /datahub/client/common/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/config.py -------------------------------------------------------------------------------- /datahub/client/common/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/constant.py -------------------------------------------------------------------------------- /datahub/client/common/datahub_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/datahub_factory.py -------------------------------------------------------------------------------- /datahub/client/common/library_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/library_factory.py -------------------------------------------------------------------------------- /datahub/client/common/meta_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/meta_data.py -------------------------------------------------------------------------------- /datahub/client/common/offset_meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/offset_meta.py -------------------------------------------------------------------------------- /datahub/client/common/shard_coordinator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/shard_coordinator.py -------------------------------------------------------------------------------- /datahub/client/common/thread_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/thread_pool.py -------------------------------------------------------------------------------- /datahub/client/common/timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/common/timer.py -------------------------------------------------------------------------------- /datahub/client/consumer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/__init__.py -------------------------------------------------------------------------------- /datahub/client/consumer/consumer_coordinator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/consumer_coordinator.py -------------------------------------------------------------------------------- /datahub/client/consumer/consumer_heartbeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/consumer_heartbeat.py -------------------------------------------------------------------------------- /datahub/client/consumer/datahub_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/datahub_consumer.py -------------------------------------------------------------------------------- /datahub/client/consumer/message_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/message_key.py -------------------------------------------------------------------------------- /datahub/client/consumer/message_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/message_reader.py -------------------------------------------------------------------------------- /datahub/client/consumer/offset_coordinator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/offset_coordinator.py -------------------------------------------------------------------------------- /datahub/client/consumer/offset_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/offset_manager.py -------------------------------------------------------------------------------- /datahub/client/consumer/offset_select_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/offset_select_strategy.py -------------------------------------------------------------------------------- /datahub/client/consumer/shard_group_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/shard_group_reader.py -------------------------------------------------------------------------------- /datahub/client/consumer/shard_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/shard_reader.py -------------------------------------------------------------------------------- /datahub/client/consumer/sync_group_meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/consumer/sync_group_meta.py -------------------------------------------------------------------------------- /datahub/client/producer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/__init__.py -------------------------------------------------------------------------------- /datahub/client/producer/datahub_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/datahub_producer.py -------------------------------------------------------------------------------- /datahub/client/producer/message_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/message_writer.py -------------------------------------------------------------------------------- /datahub/client/producer/record_pack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/record_pack.py -------------------------------------------------------------------------------- /datahub/client/producer/record_pack_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/record_pack_queue.py -------------------------------------------------------------------------------- /datahub/client/producer/shard_group_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/shard_group_writer.py -------------------------------------------------------------------------------- /datahub/client/producer/shard_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/shard_writer.py -------------------------------------------------------------------------------- /datahub/client/producer/write_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/client/producer/write_result.py -------------------------------------------------------------------------------- /datahub/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/core.py -------------------------------------------------------------------------------- /datahub/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/exceptions.py -------------------------------------------------------------------------------- /datahub/implement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/implement.py -------------------------------------------------------------------------------- /datahub/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/__init__.py -------------------------------------------------------------------------------- /datahub/models/compress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/compress.py -------------------------------------------------------------------------------- /datahub/models/connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/connector.py -------------------------------------------------------------------------------- /datahub/models/cursor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/cursor.py -------------------------------------------------------------------------------- /datahub/models/params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/params.py -------------------------------------------------------------------------------- /datahub/models/record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/record.py -------------------------------------------------------------------------------- /datahub/models/results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/results.py -------------------------------------------------------------------------------- /datahub/models/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/schema.py -------------------------------------------------------------------------------- /datahub/models/shard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/shard.py -------------------------------------------------------------------------------- /datahub/models/subscription.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/subscription.py -------------------------------------------------------------------------------- /datahub/models/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/models/types.py -------------------------------------------------------------------------------- /datahub/proto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/proto/__init__.py -------------------------------------------------------------------------------- /datahub/proto/datahub_record_proto_pb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/proto/datahub_record_proto_pb.py -------------------------------------------------------------------------------- /datahub/proto/record.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/proto/record.proto -------------------------------------------------------------------------------- /datahub/rest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/rest.py -------------------------------------------------------------------------------- /datahub/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/utils/__init__.py -------------------------------------------------------------------------------- /datahub/utils/codec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/utils/codec.py -------------------------------------------------------------------------------- /datahub/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/utils/constants.py -------------------------------------------------------------------------------- /datahub/utils/converters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/utils/converters.py -------------------------------------------------------------------------------- /datahub/utils/validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/utils/validator.py -------------------------------------------------------------------------------- /datahub/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/datahub/version.py -------------------------------------------------------------------------------- /dependency/certifi-2018.4.16-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/certifi-2018.4.16-py2.py3-none-any.whl -------------------------------------------------------------------------------- /dependency/chardet-3.0.4-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/chardet-3.0.4-py2.py3-none-any.whl -------------------------------------------------------------------------------- /dependency/cprotobuf-0.1.9.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/cprotobuf-0.1.9.tar.gz -------------------------------------------------------------------------------- /dependency/crcmod-1.7.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/crcmod-1.7.tar.gz -------------------------------------------------------------------------------- /dependency/enum34-1.1.6.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/enum34-1.1.6.tar.gz -------------------------------------------------------------------------------- /dependency/funcsigs-1.0.2-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/funcsigs-1.0.2-py2.py3-none-any.whl -------------------------------------------------------------------------------- /dependency/future-0.16.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/future-0.16.0.tar.gz -------------------------------------------------------------------------------- /dependency/idna-2.6-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/idna-2.6-py2.py3-none-any.whl -------------------------------------------------------------------------------- /dependency/install_dependency.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/install_dependency.sh -------------------------------------------------------------------------------- /dependency/lz4-2.0.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/lz4-2.0.0.tar.gz -------------------------------------------------------------------------------- /dependency/pip-10.0.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/pip-10.0.1.tar.gz -------------------------------------------------------------------------------- /dependency/pkgconfig-1.3.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/pkgconfig-1.3.1.tar.gz -------------------------------------------------------------------------------- /dependency/pytest-runner-4.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/pytest-runner-4.2.tar.gz -------------------------------------------------------------------------------- /dependency/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/readme.txt -------------------------------------------------------------------------------- /dependency/requests-2.18.4-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/requests-2.18.4-py2.py3-none-any.whl -------------------------------------------------------------------------------- /dependency/setuptools-39.2.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/setuptools-39.2.0.zip -------------------------------------------------------------------------------- /dependency/setuptools_scm-2.1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/setuptools_scm-2.1.0.tar.gz -------------------------------------------------------------------------------- /dependency/simplejson-3.15.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/simplejson-3.15.0.tar.gz -------------------------------------------------------------------------------- /dependency/six-1.11.0-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/six-1.11.0-py2.py3-none-any.whl -------------------------------------------------------------------------------- /dependency/urllib3-1.22-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/dependency/urllib3-1.22-py2.py3-none-any.whl -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx_rtd_theme 2 | -------------------------------------------------------------------------------- /docs/source/_static/PyDatahub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/_static/PyDatahub.png -------------------------------------------------------------------------------- /docs/source/_static/theme_override.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/_static/theme_override.css -------------------------------------------------------------------------------- /docs/source/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/api.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/installation.rst -------------------------------------------------------------------------------- /docs/source/tutorial-client.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-client.rst -------------------------------------------------------------------------------- /docs/source/tutorial-connector.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-connector.rst -------------------------------------------------------------------------------- /docs/source/tutorial-meter.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-meter.rst -------------------------------------------------------------------------------- /docs/source/tutorial-offset.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-offset.rst -------------------------------------------------------------------------------- /docs/source/tutorial-project.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-project.rst -------------------------------------------------------------------------------- /docs/source/tutorial-record.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-record.rst -------------------------------------------------------------------------------- /docs/source/tutorial-schema.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-schema.rst -------------------------------------------------------------------------------- /docs/source/tutorial-shard.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-shard.rst -------------------------------------------------------------------------------- /docs/source/tutorial-subscription.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-subscription.rst -------------------------------------------------------------------------------- /docs/source/tutorial-topic.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial-topic.rst -------------------------------------------------------------------------------- /docs/source/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/docs/source/tutorial.rst -------------------------------------------------------------------------------- /examples/client/datahub.config.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/client/datahub.config.template -------------------------------------------------------------------------------- /examples/client/example_async_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/client/example_async_producer.py -------------------------------------------------------------------------------- /examples/client/example_collaborative_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/client/example_collaborative_consumer.py -------------------------------------------------------------------------------- /examples/client/example_general_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/client/example_general_consumer.py -------------------------------------------------------------------------------- /examples/client/example_general_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/client/example_general_producer.py -------------------------------------------------------------------------------- /examples/datahub/basic_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/datahub/basic_example.py -------------------------------------------------------------------------------- /examples/datahub/blob/blob_topic_pub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/datahub/blob/blob_topic_pub.py -------------------------------------------------------------------------------- /examples/datahub/blob/blob_topic_sub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/datahub/blob/blob_topic_sub.py -------------------------------------------------------------------------------- /examples/datahub/consume_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/datahub/consume_example.py -------------------------------------------------------------------------------- /examples/datahub/tuple/tuple_topic_pub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/datahub/tuple/tuple_topic_pub.py -------------------------------------------------------------------------------- /examples/datahub/tuple/tuple_topic_sub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/datahub/tuple/tuple_topic_sub.py -------------------------------------------------------------------------------- /examples/resources/datahub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/examples/resources/datahub.png -------------------------------------------------------------------------------- /readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/readthedocs.yaml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/setup.py -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/test-requirements.txt -------------------------------------------------------------------------------- /tests/datahub.ini.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/datahub.ini.template -------------------------------------------------------------------------------- /tests/fixtures/projects.cursor.topics.invalid_param.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.cursor.topics.invalid_param.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.cursor.topics.success.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.cursor.topics.success.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.existed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.existed.json -------------------------------------------------------------------------------- /tests/fixtures/projects.existed.topics.existed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.existed.topics.existed.json -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.blob.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.blob.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.blob.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.blob.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.blob_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.blob_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.invalid_cursor.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.invalid_cursor.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.invalid_cursor_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.invalid_cursor_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.tuple.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.tuple.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.tuple.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.tuple.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.get.topics.tuple_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.get.topics.tuple_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.json -------------------------------------------------------------------------------- /tests/fixtures/projects.merge.topics.invalid_state.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.merge.topics.invalid_state.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.merge.topics.limit_exceeded.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.merge.topics.limit_exceeded.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.merge.topics.shards_not_adjacent.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.merge.topics.shards_not_adjacent.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.merge.topics.success.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.merge.topics.success.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.meter.topics.success.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.meter.topics.success.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.invalid_state.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.invalid_state.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.invalid_state_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.invalid_state_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.limit_exceeded.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.limit_exceeded.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.limit_exceeded_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.limit_exceeded_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.malformed.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.malformed.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.malformed_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.malformed_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.success.shards.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.success.shards.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.put.topics.success.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.put.topics.success.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.schema.topics.delete.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /tests/fixtures/projects.schema.topics.get.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.schema.topics.get.json -------------------------------------------------------------------------------- /tests/fixtures/projects.schema.topics.list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.schema.topics.list.json -------------------------------------------------------------------------------- /tests/fixtures/projects.schema.topics.register.json: -------------------------------------------------------------------------------- 1 | { 2 | "VersionId": 0 3 | } -------------------------------------------------------------------------------- /tests/fixtures/projects.split.topics.default.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.split.topics.default.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.split.topics.invalid_key.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.split.topics.invalid_key.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.split.topics.invalid_state.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.split.topics.invalid_state.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.split.topics.limit_exceeded.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.split.topics.limit_exceeded.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.split.topics.success.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.split.topics.success.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.success.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.success.json -------------------------------------------------------------------------------- /tests/fixtures/projects.success.topics.blob.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.success.topics.blob.json -------------------------------------------------------------------------------- /tests/fixtures/projects.success.topics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.success.topics.json -------------------------------------------------------------------------------- /tests/fixtures/projects.success.topics.success.connectors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.success.topics.success.connectors.json -------------------------------------------------------------------------------- /tests/fixtures/projects.success.topics.success.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.success.topics.success.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.success.topics.tuple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.success.topics.tuple.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.topics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.topics.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.topics.valid.connectors.sink_odps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.topics.valid.connectors.sink_odps.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.topics.valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.topics.valid.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.topics.valid.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.topics.valid.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.topics.valid.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.topics.valid.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.unexisted.topics.valid_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.unexisted.topics.valid_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.unexisted.connectors.sink_odps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.unexisted.connectors.sink_odps.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.unexisted.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.unexisted.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.unexisted.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.unexisted.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.unexisted.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.unexisted.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.valid.connectors.sink_odps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.valid.connectors.sink_odps.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.valid.shards.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.valid.shards.0.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid.topics.valid.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid.topics.valid.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.valid_batch.topics.unexisted.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid_batch.topics.unexisted.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.valid_batch.topics.valid_batch.shards.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.valid_batch.topics.valid_batch.shards.0.bin -------------------------------------------------------------------------------- /tests/fixtures/projects.wait.topics.ready.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.wait.topics.ready.shards.json -------------------------------------------------------------------------------- /tests/fixtures/projects.wait.topics.unready.shards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/fixtures/projects.wait.topics.unready.shards.json -------------------------------------------------------------------------------- /tests/function/test_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_connector.py -------------------------------------------------------------------------------- /tests/function/test_cursor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_cursor.py -------------------------------------------------------------------------------- /tests/function/test_meter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_meter.py -------------------------------------------------------------------------------- /tests/function/test_offset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_offset.py -------------------------------------------------------------------------------- /tests/function/test_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_project.py -------------------------------------------------------------------------------- /tests/function/test_record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_record.py -------------------------------------------------------------------------------- /tests/function/test_record_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_record_batch.py -------------------------------------------------------------------------------- /tests/function/test_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_schema.py -------------------------------------------------------------------------------- /tests/function/test_shard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_shard.py -------------------------------------------------------------------------------- /tests/function/test_subscription.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_subscription.py -------------------------------------------------------------------------------- /tests/function/test_topic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/function/test_topic.py -------------------------------------------------------------------------------- /tests/resources/datahub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/resources/datahub.png -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/__init__.py -------------------------------------------------------------------------------- /tests/unit/test_batch_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_batch_unit.py -------------------------------------------------------------------------------- /tests/unit/test_connector_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_connector_unit.py -------------------------------------------------------------------------------- /tests/unit/test_cursor_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_cursor_unit.py -------------------------------------------------------------------------------- /tests/unit/test_meter_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_meter_unit.py -------------------------------------------------------------------------------- /tests/unit/test_project_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_project_unit.py -------------------------------------------------------------------------------- /tests/unit/test_record_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_record_unit.py -------------------------------------------------------------------------------- /tests/unit/test_schema_register_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_schema_register_unit.py -------------------------------------------------------------------------------- /tests/unit/test_schema_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_schema_unit.py -------------------------------------------------------------------------------- /tests/unit/test_shard_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_shard_unit.py -------------------------------------------------------------------------------- /tests/unit/test_topic_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/test_topic_unit.py -------------------------------------------------------------------------------- /tests/unit/unittest_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tests/unit/unittest_util.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliyun/aliyun-datahub-sdk-python/HEAD/tox.ini --------------------------------------------------------------------------------