Skip to content

Commit

Permalink
kafka bean enable and disable
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Farheen <[email protected]>
  • Loading branch information
Neha Farheen committed Apr 17, 2024
1 parent 74cf114 commit 7e817b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.springframework.kafka.support.serializer.JsonSerializer;

@Configuration
@ConditionalOnProperty(value = "mosip.ida.authentication.error.eventing.enabled", havingValue = "true")
@ConditionalOnProperty(value = "mosip.ida.authentication.error.eventing.enabled", havingValue = "true", matchIfMissing = false)
public class KafkaProducerConfig {

@Value(value = "${mosip.ida.kafka.bootstrap.servers}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @author Neha
*/
@Component
@ConditionalOnProperty(value = "mosip.ida.authentication.error.eventing.enabled", havingValue = "true")
@ConditionalOnProperty(value = "mosip.ida.authentication.error.eventing.enabled", havingValue = "true", matchIfMissing = false)
public class AuthenticationErrorEventingPublisher {

private static final String REQUEST_SIGNATURE = "requestSignature";
Expand Down

0 comments on commit 7e817b4

Please sign in to comment.