First Round of Sales
Tackler supports storing a single transaction into single files, and it also has support for journal data sharding. Both of these features are utilized so that there won’t be merge conflicts when these journals are merged.
Each transaction is stored its own file, and directory structure inside all journals (HQ, Store A and Store B) is constructed so that there won’t be merge conflicts when these unrelated data streams are merged into HQ journal.
Each transaction has an UUID and transactions are also tagged based on the store.
Sales events at Stores
First two sales transactions are these:
Sales event at store A
2024-12-17 (#001) 'Store-A sales txn
# uuid: 9b4523b2-00a9-45ef-8f96-1d30a6626574
# tags: store-a
Assets:Store-A:Cashier 123 €
Warehouse:Store-A -1 Unit @ 123 €
Sales event at store B
2024-12-17 (#001) 'Store-B sales txn
# uuid: be405a05-2293-45ca-a4c5-2c51e726f078
# tags: store-b
Assets:Store-B:Cashier 123 €
Warehouse:Store-B -1 Unit @ 123 €