Skip to content

Commit

Permalink
fix: disable the outbound and inbound connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
saig0 committed Jun 13, 2023
1 parent c54be22 commit b5d7f28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.camunda.community.zeebe.play


import io.camunda.connector.runtime.OutboundConnectorsAutoConfiguration
import io.zeebe.zeeqs.importer.hazelcast.HazelcastImporter
import io.zeebe.zeeqs.importer.hazelcast.HazelcastProperties
import org.camunda.community.zeebe.play.zeebe.ZeebeService
Expand All @@ -12,7 +13,7 @@ import javax.annotation.PostConstruct
import javax.annotation.PreDestroy


@SpringBootApplication
@SpringBootApplication(exclude = [OutboundConnectorsAutoConfiguration::class])
@EnableSpringDataWebSupport
open class ZeebePlayApplication(
val hazelcastProperties: HazelcastProperties,
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ zeebe:
# - name: SLACK_OAUTH_TOKEN
# value: my-slack-oauth-token

camunda:
# disable inbound connector
connector:
polling:
enabled: false
webhook:
enabled: false

spring:
datasource:
url: jdbc:h2:mem:zeeqs;DB_CLOSE_DELAY=-1
Expand Down

0 comments on commit b5d7f28

Please sign in to comment.