fixing(gradle)
This commit is contained in:
+1
@@ -47,6 +47,7 @@ class KafkaEventConsumer(
|
||||
.asFlow()
|
||||
}
|
||||
|
||||
@Deprecated("Use receiveEventsWithResult with Flow<Result<T>> instead.")
|
||||
override fun <T : Any> receiveEvents(topic: String, eventType: Class<T>): Flux<T> {
|
||||
logger.info("Setting up reactive consumer for topic '{}' with event type '{}'", topic, eventType.simpleName)
|
||||
|
||||
|
||||
+2
@@ -58,6 +58,7 @@ class KafkaEventPublisher(
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated("Use publishEvent with Result<Unit> instead.")
|
||||
override fun publishEventReactive(topic: String, key: String?, event: Any): Mono<Unit> {
|
||||
logger.debug("Publishing event to topic '{}' with key '{}', event type: '{}'",
|
||||
topic, key, event::class.simpleName)
|
||||
@@ -82,6 +83,7 @@ class KafkaEventPublisher(
|
||||
.map { Unit }
|
||||
}
|
||||
|
||||
@Deprecated("Use publishEvents with Result<List<Unit>> instead.")
|
||||
override fun publishEventsReactive(topic: String, events: List<Pair<String?, Any>>): Flux<Unit> {
|
||||
if (events.isEmpty()) {
|
||||
logger.debug("No events to publish to topic '{}'", topic)
|
||||
|
||||
Reference in New Issue
Block a user