蛋蛋星球RabbitMq消费项目
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

consume_key.go 11 KiB

1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
1 tydzień temu
2 tygodni temu
1 tydzień temu
2 tygodni temu
1 tydzień temu
2 tygodni temu
2 tygodni temu
1 tydzień temu
1 tydzień temu
1 miesiąc temu
1 tydzień temu
2 tygodni temu
1 tydzień temu
1 miesiąc temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. package md
  2. type MqQueue struct {
  3. ExchangeName string `json:"exchangeName"` //交换机名字
  4. Name string `json:"name"` //队列名字
  5. Type string `json:"type"` //队列类型
  6. IsPersistent bool `json:"is_persistent"` //队列是否持久化
  7. RoutKey string `json:"rout_key"` //路由
  8. BindKey string `json:"bind_key"` //绑定的路由
  9. ConsumeFunName string `json:"consume_fun_name"` //消费方法
  10. }
  11. var RabbitMqQueueKeyList = []*MqQueue{
  12. {
  13. ExchangeName: "egg.energy",
  14. Name: "egg_energy_star_level_dividend_queue",
  15. Type: TopicQueueType,
  16. IsPersistent: false,
  17. RoutKey: "star_level_dividend",
  18. BindKey: "",
  19. ConsumeFunName: "EggEnergyStartLevelDividendConsume",
  20. },
  21. {
  22. ExchangeName: "egg.energy",
  23. Name: "egg_energy_fund_data_queue",
  24. Type: DirectQueueType,
  25. IsPersistent: false,
  26. RoutKey: "fund_data",
  27. BindKey: "",
  28. ConsumeFunName: "EggEnergyDealFundDataConsume",
  29. },
  30. {
  31. ExchangeName: "egg.energy",
  32. Name: "egg_energy_platform_revenue_data_queue",
  33. Type: DirectQueueType,
  34. IsPersistent: false,
  35. RoutKey: "platform_revenue_data",
  36. BindKey: "",
  37. ConsumeFunName: "EggEnergyDealPlatformRevenueDataConsume",
  38. },
  39. {
  40. ExchangeName: "egg.energy",
  41. Name: "egg_deal_user_virtual_coin_queue",
  42. Type: DirectQueueType,
  43. IsPersistent: false,
  44. RoutKey: "deal_user_virtual_coin",
  45. BindKey: "",
  46. ConsumeFunName: "EggEnergyDealUserVirtualCoinDataConsume",
  47. },
  48. {
  49. ExchangeName: "im.egg.energy",
  50. Name: "im_egg_energy_batch_send_message_queue",
  51. Type: DirectQueueType,
  52. IsPersistent: false,
  53. RoutKey: "batch_send_message_data",
  54. BindKey: "",
  55. ConsumeFunName: "IMEggEnergyBatchSendMessageDataConsume",
  56. },
  57. {
  58. ExchangeName: "im.egg.energy",
  59. Name: "im_egg_energy_del_friend_comment_circle_queue",
  60. Type: DirectQueueType,
  61. IsPersistent: false,
  62. RoutKey: "del_friend_circle_comment_data",
  63. BindKey: "",
  64. ConsumeFunName: "IMEggEnergyDelFriendCircleDataConsume",
  65. },
  66. {
  67. ExchangeName: "egg.app",
  68. Name: "egg_fin_withdraw_apply",
  69. Type: DirectQueueType,
  70. IsPersistent: false,
  71. RoutKey: "egg_fin_withdraw_apply",
  72. BindKey: "",
  73. ConsumeFunName: "EggFinWithdrawApplyDataConsume",
  74. },
  75. {
  76. ExchangeName: "egg.energy",
  77. Name: "egg_energy_settlement_public_give_activity_coin",
  78. Type: DirectQueueType,
  79. IsPersistent: false,
  80. RoutKey: "settlement_public_give_activity_coin",
  81. BindKey: "",
  82. ConsumeFunName: "EggEnergySettlementPublicGiveActivityCoinConsume",
  83. },
  84. {
  85. ExchangeName: "egg.energy",
  86. Name: "egg_energy_start_exchange_egg_energy",
  87. Type: DirectQueueType,
  88. IsPersistent: false,
  89. RoutKey: "start_exchange_egg_energy",
  90. BindKey: "",
  91. ConsumeFunName: "EggEnergyStartExchangeGreenEnergyConsume",
  92. },
  93. {
  94. ExchangeName: "egg.energy",
  95. Name: "egg_energy_auto_exchange_egg_energy",
  96. Type: DirectQueueType,
  97. IsPersistent: false,
  98. RoutKey: "auto_exchange_egg_energy",
  99. BindKey: "",
  100. ConsumeFunName: "EggEnergyAutoExchangeGreenEnergyConsume",
  101. },
  102. {
  103. ExchangeName: "egg.app",
  104. Name: "add_public_platoon_user_relation_commission",
  105. Type: DirectQueueType,
  106. IsPersistent: false,
  107. RoutKey: "add_public_platoon_user_relation_commission",
  108. BindKey: "",
  109. ConsumeFunName: "AddPublicPlatoonUserRelationCommissionConsume",
  110. },
  111. {
  112. ExchangeName: "egg.jpush",
  113. Name: "egg_jpush_record_queue",
  114. Type: DirectQueueType,
  115. IsPersistent: false,
  116. RoutKey: "jpush_record",
  117. BindKey: "",
  118. ConsumeFunName: "JpushRecordConsume",
  119. },
  120. {
  121. ExchangeName: "egg.aliyun_sms",
  122. Name: "egg_aliyun_sms_record_queue_new",
  123. Type: DirectQueueType,
  124. IsPersistent: false,
  125. RoutKey: "aliyun_sms_record",
  126. BindKey: "",
  127. ConsumeFunName: "AliyunSmsRecordConsume",
  128. },
  129. {
  130. ExchangeName: "egg.advertising",
  131. Name: "egg_advertising_smash",
  132. Type: DirectQueueType,
  133. IsPersistent: false,
  134. RoutKey: "advertising_smash",
  135. BindKey: "",
  136. ConsumeFunName: "AdvertisingSmashConsume",
  137. },
  138. {
  139. ExchangeName: "egg.advertising",
  140. Name: "egg_advertising_sign",
  141. Type: DirectQueueType,
  142. IsPersistent: false,
  143. RoutKey: "advertising_sign",
  144. BindKey: "",
  145. ConsumeFunName: "AdvertisingSignConsume",
  146. },
  147. {
  148. ExchangeName: "egg.app",
  149. Name: "egg_new_user_register_queue",
  150. Type: DirectQueueType,
  151. IsPersistent: false,
  152. RoutKey: "egg_new_user_register",
  153. BindKey: "",
  154. ConsumeFunName: "EggEnergyNewUserRegisterDataConsume",
  155. },
  156. {
  157. ExchangeName: "egg.energy",
  158. Name: "egg_energy_user_ecpm",
  159. Type: DirectQueueType,
  160. IsPersistent: false,
  161. RoutKey: "user_ecpm",
  162. BindKey: "",
  163. ConsumeFunName: "EggEnergyDealUserECPMConsume",
  164. },
  165. {
  166. ExchangeName: "egg.canal.topic",
  167. Name: "egg_canal_invite_user_nums_queue",
  168. Type: DirectQueueType,
  169. IsPersistent: false,
  170. RoutKey: "user_relate",
  171. BindKey: "",
  172. ConsumeFunName: "EggCanalInviteUserNumsConsume",
  173. },
  174. {
  175. ExchangeName: "egg.canal.topic",
  176. Name: "egg_canal_violate_nums_queue",
  177. Type: DirectQueueType,
  178. IsPersistent: false,
  179. RoutKey: "user_tag_records",
  180. BindKey: "",
  181. ConsumeFunName: "EggCanalViolateNumsConsume",
  182. },
  183. {
  184. ExchangeName: "im.egg.energy",
  185. Name: "im_egg_energy_send_red_package_queue",
  186. Type: DirectQueueType,
  187. IsPersistent: false,
  188. RoutKey: "send_red_package",
  189. BindKey: "",
  190. ConsumeFunName: "IMEggEnergySendRedPackageConsume",
  191. },
  192. {
  193. ExchangeName: "egg.app",
  194. Name: "egg_record_active_queue",
  195. Type: DirectQueueType,
  196. IsPersistent: false,
  197. RoutKey: "egg_record_active",
  198. BindKey: "",
  199. ConsumeFunName: "EggRecordActiveDataConsume",
  200. },
  201. {
  202. ExchangeName: "egg.canal.topic",
  203. Name: "egg_canal_person_add_activity_value_queue",
  204. Type: DirectQueueType,
  205. IsPersistent: false,
  206. RoutKey: "egg_canal_user_virtual_coin_flow",
  207. BindKey: "",
  208. ConsumeFunName: "EggCanalPersonAddActivityValueConsume",
  209. },
  210. {
  211. ExchangeName: "egg.video_playlet",
  212. Name: "egg_video_reward",
  213. Type: DirectQueueType,
  214. IsPersistent: false,
  215. RoutKey: "video",
  216. BindKey: "",
  217. ConsumeFunName: "VideoRewardFunName",
  218. },
  219. {
  220. ExchangeName: "egg.video_playlet",
  221. Name: "egg_playlet_reward",
  222. Type: DirectQueueType,
  223. IsPersistent: false,
  224. RoutKey: "playlet",
  225. BindKey: "",
  226. ConsumeFunName: "PlayletRewardFunName",
  227. },
  228. {
  229. ExchangeName: "egg.user",
  230. Name: "egg_user_delete",
  231. Type: DirectQueueType,
  232. IsPersistent: false,
  233. RoutKey: "user_delete",
  234. BindKey: "",
  235. ConsumeFunName: "UserDeleteConsume",
  236. },
  237. {
  238. ExchangeName: "egg.app",
  239. Name: "egg_auto_score_queue",
  240. Type: DirectQueueType,
  241. IsPersistent: false,
  242. RoutKey: "egg_auto_score",
  243. BindKey: "",
  244. ConsumeFunName: "EggEnergyAutoScoreConsume",
  245. },
  246. {
  247. ExchangeName: "egg.app",
  248. Name: "egg_slow_auto_up_lv",
  249. Type: DirectQueueType,
  250. IsPersistent: false,
  251. RoutKey: "egg_slow_auto_up_lv",
  252. BindKey: "",
  253. ConsumeFunName: "EggSlowAutoUpLvConsume",
  254. },
  255. {
  256. ExchangeName: "egg.canal.topic",
  257. Name: "egg_energy_user_activity",
  258. Type: DirectQueueType,
  259. IsPersistent: false,
  260. RoutKey: "egg_energy_user_activity",
  261. BindKey: "",
  262. ConsumeFunName: "EggEnergyUserActivityConsume",
  263. },
  264. {
  265. ExchangeName: "egg.canal.topic",
  266. Name: "egg_canal_user",
  267. Type: DirectQueueType,
  268. IsPersistent: false,
  269. RoutKey: "egg_canal_user",
  270. BindKey: "",
  271. ConsumeFunName: "EggCanalUserConsume",
  272. },
  273. {
  274. ExchangeName: "egg.energy",
  275. Name: "egg_energy_team_assistance",
  276. Type: DirectQueueType,
  277. IsPersistent: false,
  278. RoutKey: "egg_energy_team_assistance",
  279. BindKey: "",
  280. ConsumeFunName: "EggEnergyTeamAssistanceConsume",
  281. },
  282. }
  283. const (
  284. EggSlowAutoUpLvConsume = "EggSlowAutoUpLvConsume"
  285. EggEnergyUserActivityConsume = "EggEnergyUserActivityConsume"
  286. EggCanalUserConsume = "EggCanalUserConsume"
  287. JpushRecordFunName = "JpushRecordConsume"
  288. AliyunSmsRecordFunName = "AliyunSmsRecordConsume"
  289. EggEnergyStartLevelDividendFunName = "EggEnergyStartLevelDividendConsume"
  290. EggEnergyDealFundDataFunName = "EggEnergyDealFundDataConsume"
  291. EggEnergyDealPlatformRevenueDataFunName = "EggEnergyDealPlatformRevenueDataConsume"
  292. EggEnergyDealUserVirtualCoinDataFunName = "EggEnergyDealUserVirtualCoinDataConsume"
  293. IMEggEnergyBatchSendMessageDataFunName = "IMEggEnergyBatchSendMessageDataConsume"
  294. IMEggEnergyDelFriendCircleDataFunName = "IMEggEnergyDelFriendCircleDataConsume"
  295. EggFinWithdrawApplyDataConsumeFunName = "EggFinWithdrawApplyDataConsume"
  296. EggEnergySettlementPublicGiveActivityCoinFunName = "EggEnergySettlementPublicGiveActivityCoinConsume"
  297. EggEnergyStartExchangeGreenEnergyFunName = "EggEnergyStartExchangeGreenEnergyConsume"
  298. EggEnergyAutoExchangeGreenEnergyFunName = "EggEnergyAutoExchangeGreenEnergyConsume"
  299. EggEnergyNewUserRegisterDataFunName = "EggEnergyNewUserRegisterDataConsume"
  300. EggEnergyDealUserECPMFunName = "EggEnergyDealUserECPMConsume"
  301. EggCanalInviteUserNumsFunName = "EggCanalInviteUserNumsConsume"
  302. EggCanalViolateNumsFunName = "EggCanalViolateNumsConsume"
  303. IMEggEnergySendRedPackageFunName = "IMEggEnergySendRedPackageConsume"
  304. EggRecordActiveDataFunName = "EggRecordActiveDataConsume"
  305. EggCanalPersonAddActivityValueFunName = "EggCanalPersonAddActivityValueConsume"
  306. VideoRewardFunName = "VideoRewardFunName"
  307. PlayletRewardFunName = "PlayletRewardFunName"
  308. UserDeleteFunName = "UserDeleteConsume"
  309. EggEnergyAutoScoreDataFunName = "EggEnergyAutoScoreConsume"
  310. PublicPlatoonUserRelationCommissionConsumeFunName = "AddPublicPlatoonUserRelationCommissionConsume"
  311. EggEnergyTeamAssistanceConsumeFunName = "EggEnergyTeamAssistanceConsume"
  312. )