# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 1
# self = https://watcher.sour.is/conv/2gxixka
RocketMQ 事務消息解析!**
單體架構下的事務在單體系統的開發過程中,假如某個場景下需要對數據庫的多張表進行操作,爲了保證數據的一致性,一般會使用事務,將所有的操作全部提交或者在出錯的時候全部回滾。以創建訂單爲例,假設下單後需要做兩個操作: 在訂單表生成訂單。 在積分表增加本次訂單增加的積分記錄。在單體架構下只需使用@Transactional開啓事務,就可以保證數據的一致性。 @Transactional ⌘ Read more