Skip to content

Commit a7fc26a

Browse files
committed
fix(): fixing exception in ingestion of expired keys in keys source
1 parent 0c795d8 commit a7fc26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/redis-kafka-connect/src/main/java/com/redis/kafka/connect/source/ToStructFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ToStructFunction implements Function<KeyValue<String>, Struct> {
3939

4040
public static final Schema TTL_SCHEMA = Schema.OPTIONAL_INT64_SCHEMA;
4141

42-
public static final Schema TYPE_SCHEMA = Schema.STRING_SCHEMA;
42+
public static final Schema TYPE_SCHEMA = Schema.OPTIONAL_STRING_SCHEMA;
4343

4444
public static final String VALUE_SCHEMA_NAME = "com.redis.kafka.connect.keys.Value";
4545

0 commit comments

Comments
 (0)