talos-python3 3.0.8__tar.gz → 3.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {talos-python3-3.0.8 → talos-python3-3.0.10}/PKG-INFO +1 -1
- {talos-python3-3.0.8 → talos-python3-3.0.10}/setup.py +2 -2
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/PartitionMessageQueue.py +1 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/SimpleProducer.py +3 -3
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/utils/Utils.py +1 -1
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos_python3.egg-info/PKG-INFO +1 -1
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos_python3.egg-info/requires.txt +1 -1
- {talos-python3-3.0.8 → talos-python3-3.0.10}/setup.cfg +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/admin/TalosAdmin.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/admin/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/Constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/ScheduleInfoCache.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/SimpleAbnormalCallback.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/TalosClientConfig.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/TalosClientConfigkeys.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/TalosClientFactory.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/TalosErrors.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/TalosHttpClient.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/TopicAbnormalCallback.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/compression/Compression.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/compression/Gzip.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/compression/Snappy.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/compression/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerialization.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializationFactory.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializerV1.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializerV2.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializerV3.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageVersion.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/MessageCheckpointer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/MessageProcessor.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/MessageProcessorFactory.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/MessageReader.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/MessageReaderFactory.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/PartitionFetcher.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/SimpleConsumer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/TalosConsumer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/TalosConsumerConfigKeys.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/TalosMessageReader.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/consumer/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/example/SimpleConsumerDemo.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/example/SimpleProducerDemo.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/example/TalosAdminDemo.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/example/TalosConsumerDemo.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/example/TalosProducerDemo.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/example/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/BufferedMessageCount.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/PartitionSender.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/Partitioner.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/ProducerNotActiveException.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/SimplePartitioner.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/TalosProducer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/TalosProducerConfig.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/TalosProducerConfigKey.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/UserMessage.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/UserMessageCallback.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/UserMessageResult.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/producer/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/admin/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/client/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/client/test_socket.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/consumer/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/consumer/test_PartitionFetcher.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/consumer/test_SimpleConsumer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/consumer/test_TalosConsumer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/consumer/test_TalosMessageReader.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/producer/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/producer/test_PartitionMessageQueue.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/producer/test_PartitionSender.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/producer/test_TalosProducer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/producer/test_UserMessage.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/test.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/TMultiplexedProcessor.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/TRecursive.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/TSCons.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/TSerialization.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/TTornado.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/Thrift.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/auth/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/auth/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/auth/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/authorization/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/authorization/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/authorization/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/common/TalosBaseService.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/common/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/common/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/common/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/compat.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/consumer/ConsumerService.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/consumer/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/consumer/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/consumer/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/message/MessageService.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/message/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/message/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/message/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/metric/MetricService.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/metric/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/metric/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/metric/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TBase.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TBinaryProtocol.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TCompactProtocol.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/THeaderProtocol.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TJSONProtocol.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TMultiplexedProtocol.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TProtocol.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/TProtocolDecorator.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/protocol/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/quota/QuotaService.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/quota/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/quota/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/quota/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/server/THttpServer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/server/TNonblockingServer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/server/TProcessPoolServer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/server/TServer.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/server/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/topic/TopicService.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/topic/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/topic/constants.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/topic/ttypes.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/THeaderTransport.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/THttpClient.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/TSSLSocket.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/TSocket.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/TTransport.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/TTwisted.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/TZlibTransport.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/thrift/transport/sslcompat.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/utils/Const.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/utils/FalconWriter.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos/utils/__init__.py +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos_python3.egg-info/SOURCES.txt +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos_python3.egg-info/dependency_links.txt +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos_python3.egg-info/not-zip-safe +0 -0
- {talos-python3-3.0.8 → talos-python3-3.0.10}/talos_python3.egg-info/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='talos-python3',
|
|
5
|
-
version='3.0.
|
|
5
|
+
version='3.0.10',
|
|
6
6
|
author='huyumei',
|
|
7
7
|
author_email='huyumei@xiaomi.com',
|
|
8
8
|
maintainer='fangchengjin',
|
|
@@ -13,7 +13,7 @@ setup(
|
|
|
13
13
|
zip_safe=False,
|
|
14
14
|
install_requires=[
|
|
15
15
|
'cffi',
|
|
16
|
-
'python-snappy',
|
|
16
|
+
'python-snappy==0.6.1',
|
|
17
17
|
'atomic',
|
|
18
18
|
'dnspython',
|
|
19
19
|
'requests',
|
|
@@ -78,7 +78,7 @@ class SimpleProducer(object):
|
|
|
78
78
|
self.put_message_list(msgList)
|
|
79
79
|
return True
|
|
80
80
|
except Exception as e:
|
|
81
|
-
self.logger.error("putMessage error, please try to put again"
|
|
81
|
+
self.logger.error("putMessage to " + self.topicAndPartition + " error, please try to put again"
|
|
82
82
|
+ str(traceback.format_exc()))
|
|
83
83
|
|
|
84
84
|
return False
|
|
@@ -118,11 +118,11 @@ class SimpleProducer(object):
|
|
|
118
118
|
self.scheduleInfoCache.update_schedule_info_cache()
|
|
119
119
|
putMessageResponse = self.messageClient.put_message(putMessageRequest)
|
|
120
120
|
else:
|
|
121
|
-
self.logger.error("put message request failed." + str(traceback.format_exc()))
|
|
121
|
+
self.logger.error("put message request to " + self.topicAndPartition + " failed." + str(traceback.format_exc()))
|
|
122
122
|
raise e
|
|
123
123
|
else:
|
|
124
124
|
self.logger.error(
|
|
125
|
-
"put message request failed." + str(traceback.format_exc()))
|
|
125
|
+
"put message request to " + self.topicAndPartition + " failed." + str(traceback.format_exc()))
|
|
126
126
|
raise e
|
|
127
127
|
|
|
128
128
|
# update scheduleInfocache when request have been transfered and talos auto location was set up
|
|
@@ -78,7 +78,7 @@ def check_message_list_validity(msgList=None, producerConfig=None):
|
|
|
78
78
|
# is too large, and not just throw exception;
|
|
79
79
|
if totalSize > producerConfig.get_max_single_msg_bytes() * 2:
|
|
80
80
|
raise InvalidArgumentError("Total Messages byte must less than " +
|
|
81
|
-
str(
|
|
81
|
+
str(producerConfig.get_max_single_msg_bytes() * 2))
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
def check_message_validity(message=None, producerConfig=None):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerialization.py
RENAMED
|
File without changes
|
|
File without changes
|
{talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializer.py
RENAMED
|
File without changes
|
{talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializerV1.py
RENAMED
|
File without changes
|
{talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializerV2.py
RENAMED
|
File without changes
|
{talos-python3-3.0.8 → talos-python3-3.0.10}/talos/client/serialization/MessageSerializerV3.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{talos-python3-3.0.8 → talos-python3-3.0.10}/talos/test/producer/test_PartitionMessageQueue.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|