aldettinger commented on PR #165: URL: https://github.com/apache/camel-quarkus-examples/pull/165#issuecomment-1757531276
Looks Narayana is doing the actual 2 Phase Commit under the hood. And as such, the transaction logs are stored in the `ObjectStore` folder. At least, it looks that way according to logs below: ``` $ inotifywait -m -r . ./ObjectStore/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/ CREATE 0_ffff7f000001_b517_65268954_1102 ./ObjectStore/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/ OPEN 0_ffff7f000001_b517_65268954_1102 ./ObjectStore/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/ MODIFY 0_ffff7f000001_b517_65268954_1102 ./ObjectStore/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/ CLOSE_WRITE,CLOSE 0_ffff7f000001_b517_65268954_1102 ./ObjectStore/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction/ DELETE 0_ffff7f000001_b517_65268954_1102 ``` Is it worth to explicitly add a note in the `README.adoc` file to explain where the transaction logs are being persisted ? Folks may find this useful to know where the state is stored. For instance, when deploying to kubernetes, there could be a need to configure volume/pvc not to lose the state. Which by the way, introduce another question. Would it be useful in the future to maybe deploy this example to kubernetes ala [file-bindy-ftp](https://github.com/apache/camel-quarkus-examples/tree/main/file-bindy-ftp/src/main/kubernetes)... Maybe not priority, let see this in another pr. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
