@@ -31,7 +31,7 @@ final class KafkaBindingsPropertiesProcessor implements BindingsPropertiesProces
|
||||
/**
|
||||
* The {@link Binding} kind that this processor is interested in: {@value}.
|
||||
**/
|
||||
public static final String KIND = "Cassandra";
|
||||
public static final String KIND = "Kafka";
|
||||
|
||||
@Override
|
||||
public void process(Environment environment, Bindings bindings, Map<String, Object> properties) {
|
||||
|
||||
@@ -62,7 +62,7 @@ final class KafkaBindingsPropertiesProcessorTest {
|
||||
@Test
|
||||
@DisplayName("can be disabled")
|
||||
void disabled() {
|
||||
environment.setProperty("org.springframework.cloud.bindings.boot.cassandra.enable", "false");
|
||||
environment.setProperty("org.springframework.cloud.bindings.boot.kafka.enable", "false");
|
||||
|
||||
new KafkaBindingsPropertiesProcessor().process(environment, bindings, properties);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user