Skip to content

Commit

Permalink
Fix RestKafkaSender for latest REST proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
blootsvoets committed Sep 20, 2023
1 parent b4426bf commit 3de88b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class RestKafkaSender(config: Config) : KafkaSender {
private val logger = LoggerFactory.getLogger(RestKafkaSender::class.java)
val DEFAULT_TIMEOUT: Duration = 20.seconds
val KAFKA_REST_BINARY_ENCODING = ContentType("application", "vnd.radarbase.avro.v1+binary")
val KAFKA_REST_JSON_ENCODING = ContentType("application", "vnd.kafka+json")
val KAFKA_REST_JSON_ENCODING = ContentType("application", "vnd.kafka.avro.v2+json")
const val GZIP_CONTENT_ENCODING = "gzip"

fun restKafkaSender(builder: Config.() -> Unit): RestKafkaSender =
Expand Down

0 comments on commit 3de88b5

Please sign in to comment.