简体   繁体   中英

Camunda Disable DbHistoryEventHandler on Spring Boot application

Hello I'm new at camunda and now I'm migrating camunda from 3.4 to 7.14, I want to disable DbHistoryEventHandler so it won't write to history table ( https://docs.camunda.org/manual/7.14/update/minor/712-to-713/#changed-behavior-for-custom-historyeventhandler ), but the problem is I can't found enableDefaultDbHistoryEventHandler on spring boot camunda engine properties ( https://docs.camunda.org/manual/7.14/user-guide/spring-boot-integration/configuration/#camunda-engine-properties ), can anyone please help me regarding this.

Already found the answer, for everyone facing this problem you can disable it on your spring boot application.yaml by adding this

  camunda.bpm:
    generic-properties:
      properties:
        enableDefaultDbHistoryEventHandler: false

reference: https://docs.camunda.org/manual/7.14/user-guide/spring-boot-integration/configuration/#generic-properties

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM