Skip to content

Commit

Permalink
fix: The circuit breaker feature for sending events to telemetry endp…
Browse files Browse the repository at this point in the history
…oint is hidden under a required feature flag property (#1241) (#1246)

It should be optional - if no config is defined in the YAML file, it should disable the circuit breaker feature by default

(cherry picked from commit 7ae0247)

Co-authored-by: ovidiupopa07 <105648914+ovidiupopa07@users.noreply.github.com>
  • Loading branch information
mergify[bot] and ovidiupopa07 authored Jan 20, 2023
1 parent eec8bf5 commit d764c8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RestEventListener implements EventListener {
@Value("${rest.default-field-name:payload}")
private String fieldName;

@Value("${rest.circuit-breaker-enabled}")
@Value("${rest.circuit-breaker-enabled:false}")
private boolean circuitBreakerEnabled;

@Autowired
Expand Down

0 comments on commit d764c8d

Please sign in to comment.