Skip to content

Commit

Permalink
Revert "rebase with upstream/main"
Browse files Browse the repository at this point in the history
This reverts commit b009700.
  • Loading branch information
antonio-pedro99 committed Mar 4, 2024
1 parent 8824a2c commit 115c84d
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 @@ -229,7 +229,7 @@ private MessageConverter<K, V, byte[], byte[]> buildMessageConverter(String cont
return (MessageConverter<K, V, byte[], byte[]>) new HttpJsonMessageConverter();
case BridgeContentType.KAFKA_JSON_BINARY:
return (MessageConverter<K, V, byte[], byte[]>) new HttpBinaryMessageConverter();
case BridgeContentType.KAFKA_JSON_TEXT:
case TEXT:
return (MessageConverter<K, V, byte[], byte[]>) new HttpTextMessageConverter();
}
return null;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/strimzi/kafka/bridge/http/ProducerIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void sendTextMessage(VertxTestContext context) throws InterruptedException, Exec
consumerProperties.setProperty(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, kafkaUri);

KafkaConsumer<String, String> consumer = KafkaConsumer.create(vertx, consumerProperties,
new StringDeserializer(), new StringDeserializer());
new StringDeserializer(), new KafkaJsonDeserializer<>(String.class));
consumer.handler(record -> {
context.verify(() -> {
assertThat(record.value(), is(value));
Expand Down

0 comments on commit 115c84d

Please sign in to comment.