Skip to content

Commit

Permalink
[FIX] Handle initial parameters status in KafkaSinkWithEditor properly (
Browse files Browse the repository at this point in the history
  • Loading branch information
mproch committed Jul 28, 2021
1 parent 5bb517f commit 501f381
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ class KafkaAvroSinkFactoryWithEditor(val schemaRegistryProvider: SchemaRegistryP
NextParameters(valueParam.toParameters, state = Some(state))
}
}.valueOr(e => FinalResults(context, e.toList))
case TransformationStep
(
(`topicParamName`, _) ::
(SchemaVersionParamName, _) ::
(SinkKeyParamName, _) :: Nil, state
) => FinalResults(context, Nil, state)
}

protected def finalParamStep(context: ValidationContext)(implicit nodeId: NodeId): NodeTransformationDefinition = {
Expand Down

0 comments on commit 501f381

Please sign in to comment.