AbsaOSS / AbsaOSS/hyperdrive

DeduplicateKafkaSinkTransformer should work with fields from payload

Open
#239 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
47
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When changing https://github.com/AbsaOSS/hyperdrive/blob/develop/driver/src/test/scala/za/co/absa/hyperdrive/driver/drivers/KafkaToKafkaDeduplicationAfterRetryDockerTest.scala#L73-L74

to
```
"transformer.[kafka.deduplicator].source.id.columns" -> "value.record_id",
"transformer.[kafka.deduplicator].destination.id.columns" -> "value.record_id"
```
the test fails with the following exception:
```
org.apache.spark.SparkException: Malformed records are detected in record parsing.
Caused by: org.apache.avro.AvroTypeException: Found null, expecting string
```

Even if this behavior is documented, it may never have been working.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.