talos-python3 3.1.0__tar.gz → 3.1.1__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.
Files changed (145) hide show
  1. {talos-python3-3.1.0 → talos-python3-3.1.1}/PKG-INFO +7 -7
  2. {talos-python3-3.1.0 → talos-python3-3.1.1}/setup.py +1 -1
  3. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/ScheduleInfoCache.py +1 -1
  4. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/SimpleConsumer.py +3 -3
  5. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/TalosMessageReader.py +2 -2
  6. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos_python3.egg-info/PKG-INFO +7 -7
  7. {talos-python3-3.1.0 → talos-python3-3.1.1}/setup.cfg +0 -0
  8. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/__init__.py +0 -0
  9. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/admin/TalosAdmin.py +0 -0
  10. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/admin/__init__.py +0 -0
  11. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/Constants.py +0 -0
  12. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/SimpleAbnormalCallback.py +0 -0
  13. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/TalosClientConfig.py +0 -0
  14. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/TalosClientConfigkeys.py +0 -0
  15. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/TalosClientFactory.py +0 -0
  16. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/TalosErrors.py +0 -0
  17. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/TalosHttpClient.py +0 -0
  18. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/TopicAbnormalCallback.py +0 -0
  19. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/__init__.py +0 -0
  20. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/compression/Compression.py +0 -0
  21. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/compression/Gzip.py +0 -0
  22. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/compression/Snappy.py +0 -0
  23. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/compression/__init__.py +0 -0
  24. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageSerialization.py +0 -0
  25. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageSerializationFactory.py +0 -0
  26. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageSerializer.py +0 -0
  27. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageSerializerV1.py +0 -0
  28. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageSerializerV2.py +0 -0
  29. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageSerializerV3.py +0 -0
  30. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/MessageVersion.py +0 -0
  31. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/client/serialization/__init__.py +0 -0
  32. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/MessageCheckpointer.py +0 -0
  33. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/MessageProcessor.py +0 -0
  34. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/MessageProcessorFactory.py +0 -0
  35. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/MessageReader.py +0 -0
  36. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/MessageReaderFactory.py +0 -0
  37. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/PartitionFetcher.py +0 -0
  38. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/TalosConsumer.py +0 -0
  39. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/TalosConsumerConfigKeys.py +0 -0
  40. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/consumer/__init__.py +0 -0
  41. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/example/SimpleConsumerDemo.py +0 -0
  42. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/example/SimpleProducerDemo.py +0 -0
  43. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/example/TalosAdminDemo.py +0 -0
  44. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/example/TalosConsumerDemo.py +0 -0
  45. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/example/TalosProducerDemo.py +0 -0
  46. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/example/__init__.py +0 -0
  47. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/BufferedMessageCount.py +0 -0
  48. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/PartitionMessageQueue.py +0 -0
  49. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/PartitionSender.py +0 -0
  50. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/Partitioner.py +0 -0
  51. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/ProducerNotActiveException.py +0 -0
  52. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/SimplePartitioner.py +0 -0
  53. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/SimpleProducer.py +0 -0
  54. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/TalosProducer.py +0 -0
  55. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/TalosProducerConfig.py +0 -0
  56. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/TalosProducerConfigKey.py +0 -0
  57. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/UserMessage.py +0 -0
  58. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/UserMessageCallback.py +0 -0
  59. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/UserMessageResult.py +0 -0
  60. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/producer/__init__.py +0 -0
  61. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/__init__.py +0 -0
  62. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/admin/__init__.py +0 -0
  63. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/client/__init__.py +0 -0
  64. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/client/test_socket.py +0 -0
  65. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/consumer/__init__.py +0 -0
  66. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/consumer/test_PartitionFetcher.py +0 -0
  67. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/consumer/test_SimpleConsumer.py +0 -0
  68. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/consumer/test_TalosConsumer.py +0 -0
  69. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/consumer/test_TalosMessageReader.py +0 -0
  70. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/producer/__init__.py +0 -0
  71. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/producer/test_PartitionMessageQueue.py +0 -0
  72. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/producer/test_PartitionSender.py +0 -0
  73. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/producer/test_TalosProducer.py +0 -0
  74. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/producer/test_UserMessage.py +0 -0
  75. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/test/test.py +0 -0
  76. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/TMultiplexedProcessor.py +0 -0
  77. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/TRecursive.py +0 -0
  78. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/TSCons.py +0 -0
  79. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/TSerialization.py +0 -0
  80. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/TTornado.py +0 -0
  81. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/Thrift.py +0 -0
  82. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/__init__.py +0 -0
  83. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/auth/__init__.py +0 -0
  84. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/auth/constants.py +0 -0
  85. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/auth/ttypes.py +0 -0
  86. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/authorization/__init__.py +0 -0
  87. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/authorization/constants.py +0 -0
  88. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/authorization/ttypes.py +0 -0
  89. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/common/TalosBaseService.py +0 -0
  90. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/common/__init__.py +0 -0
  91. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/common/constants.py +0 -0
  92. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/common/ttypes.py +0 -0
  93. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/compat.py +0 -0
  94. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/consumer/ConsumerService.py +0 -0
  95. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/consumer/__init__.py +0 -0
  96. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/consumer/constants.py +0 -0
  97. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/consumer/ttypes.py +0 -0
  98. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/message/MessageService.py +0 -0
  99. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/message/__init__.py +0 -0
  100. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/message/constants.py +0 -0
  101. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/message/ttypes.py +0 -0
  102. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/metric/MetricService.py +0 -0
  103. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/metric/__init__.py +0 -0
  104. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/metric/constants.py +0 -0
  105. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/metric/ttypes.py +0 -0
  106. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TBase.py +0 -0
  107. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TBinaryProtocol.py +0 -0
  108. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TCompactProtocol.py +0 -0
  109. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/THeaderProtocol.py +0 -0
  110. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TJSONProtocol.py +0 -0
  111. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TMultiplexedProtocol.py +0 -0
  112. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TProtocol.py +0 -0
  113. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/TProtocolDecorator.py +0 -0
  114. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/protocol/__init__.py +0 -0
  115. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/quota/QuotaService.py +0 -0
  116. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/quota/__init__.py +0 -0
  117. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/quota/constants.py +0 -0
  118. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/quota/ttypes.py +0 -0
  119. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/server/THttpServer.py +0 -0
  120. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/server/TNonblockingServer.py +0 -0
  121. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/server/TProcessPoolServer.py +0 -0
  122. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/server/TServer.py +0 -0
  123. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/server/__init__.py +0 -0
  124. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/topic/TopicService.py +0 -0
  125. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/topic/__init__.py +0 -0
  126. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/topic/constants.py +0 -0
  127. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/topic/ttypes.py +0 -0
  128. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/THeaderTransport.py +0 -0
  129. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/THttpClient.py +0 -0
  130. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/TSSLSocket.py +0 -0
  131. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/TSocket.py +0 -0
  132. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/TTransport.py +0 -0
  133. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/TTwisted.py +0 -0
  134. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/TZlibTransport.py +0 -0
  135. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/__init__.py +0 -0
  136. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/thrift/transport/sslcompat.py +0 -0
  137. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/utils/Const.py +0 -0
  138. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/utils/FalconWriter.py +0 -0
  139. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/utils/Utils.py +0 -0
  140. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos/utils/__init__.py +0 -0
  141. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos_python3.egg-info/SOURCES.txt +0 -0
  142. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos_python3.egg-info/dependency_links.txt +0 -0
  143. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos_python3.egg-info/not-zip-safe +0 -0
  144. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos_python3.egg-info/requires.txt +0 -0
  145. {talos-python3-3.1.0 → talos-python3-3.1.1}/talos_python3.egg-info/top_level.txt +0 -0
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: talos-python3
3
- Version: 3.1.0
3
+ Version: 3.1.1
4
4
  Summary: talos python3 sdk
5
+ Home-page: UNKNOWN
5
6
  Author: huyumei
6
7
  Author-email: huyumei@xiaomi.com
7
8
  Maintainer: fangchengjin
8
9
  Maintainer-email: fangchengjin@xiaomi.com
9
- Requires-Dist: cffi
10
- Requires-Dist: python-snappy==0.6.1
11
- Requires-Dist: atomic
12
- Requires-Dist: dnspython
13
- Requires-Dist: requests
14
- Requires-Dist: IPy
10
+ License: UNKNOWN
11
+ Platform: UNKNOWN
12
+
13
+ UNKNOWN
14
+
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name='talos-python3',
5
- version='3.1.0',
5
+ version='3.1.1',
6
6
  author='huyumei',
7
7
  author_email='huyumei@xiaomi.com',
8
8
  maintainer='fangchengjin',
@@ -52,7 +52,7 @@ class ScheduleInfoCache:
52
52
  # get and update scheduleInfoMap
53
53
  self.get_schedule_info(self.topicTalosResourceName)
54
54
  except Exception as e:
55
- self.logger.error("Exception in GetScheduleInfoTask: ", str(traceback.format_exc()))
55
+ self.logger.error("Exception in GetScheduleInfoTask: " + str(traceback.format_exc()))
56
56
  if Utils.is_topic_not_exist(e):
57
57
  return
58
58
 
@@ -99,10 +99,10 @@ class SimpleConsumer:
99
99
  self.scheduleInfoCache.update_schedule_info_cache()
100
100
  getMessageResponse = self.messageClient.get_message(getMessageRequest)
101
101
  else:
102
- self.logger.error("fetch message failed! ", str(traceback.format_exc()))
102
+ self.logger.error("fetch message failed! " + str(traceback.format_exc()))
103
103
  raise e
104
104
  else:
105
- self.logger.error("fetch message failed! ", str(traceback.format_exc()))
105
+ self.logger.error("fetch message failed! " + str(traceback.format_exc()))
106
106
  raise e
107
107
 
108
108
  # update scheduleInfocache when request have been transfered and talos auto location was set up
@@ -127,7 +127,7 @@ class SimpleConsumer:
127
127
  try:
128
128
  assert start > 0
129
129
  except AssertionError as e:
130
- self.logger.error("Exception in fetch_message: %", e)
130
+ self.logger.error("Exception in fetch_message: %s", e)
131
131
  raise e
132
132
  end = len(messageAndOffsetList)
133
133
  return messageAndOffsetList[start:end]
@@ -145,7 +145,7 @@ class TalosMessageReader(MessageReader, MessageCheckpointer):
145
145
  self.logger.info("start checkpoint: " + str(messageOffset))
146
146
  if self.consumerConfig.is_checkpoint_auto_commit():
147
147
  self.logger.info("You can not checkpoint through MessageCheckpointer when you set " +
148
- "\"galaxy.talos.consumer.checkpoint.message.offset\" as \"true\"")
148
+ "\"galaxy.talos.consumer.checkpoint.auto.commit\" as \"true\"")
149
149
  return False
150
150
 
151
151
  if messageOffset <= self.lastCommitOffset or messageOffset > self.finishedOffset:
@@ -208,7 +208,7 @@ class TalosMessageReader(MessageReader, MessageCheckpointer):
208
208
  self.logger.info("start checkpoint: " + str(commitOffset))
209
209
  if self.consumerConfig.is_checkpoint_auto_commit():
210
210
  self.logger.info("You can not checkpoint through MessageCheckpointer when you set " +
211
- "\"galaxy.talos.consumer.checkpoint.message.offset\" as \"true\"")
211
+ "\"galaxy.talos.consumer.checkpoint.auto.commit\" as \"true\"")
212
212
  return False
213
213
 
214
214
  if commitOffset <= self.lastCommitOffset or commitOffset > self.finishedOffset:
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: talos-python3
3
- Version: 3.1.0
3
+ Version: 3.1.1
4
4
  Summary: talos python3 sdk
5
+ Home-page: UNKNOWN
5
6
  Author: huyumei
6
7
  Author-email: huyumei@xiaomi.com
7
8
  Maintainer: fangchengjin
8
9
  Maintainer-email: fangchengjin@xiaomi.com
9
- Requires-Dist: cffi
10
- Requires-Dist: python-snappy==0.6.1
11
- Requires-Dist: atomic
12
- Requires-Dist: dnspython
13
- Requires-Dist: requests
14
- Requires-Dist: IPy
10
+ License: UNKNOWN
11
+ Platform: UNKNOWN
12
+
13
+ UNKNOWN
14
+
File without changes