Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Nov 5, 2024
1 parent 4cd1dd7 commit 0ed6cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kafkalib/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func buildKafkaMessageWrapper(topicPrefix string, rawMessage lib.RawMessage) (Ka
}, nil
}

// KafkaMessageWrapper is a wrapper around a Kafka message. We did this so that we can marshal and unmarshal the message
// KafkaMessageWrapper is a wrapper around [kafka.Message]. We did this so that we can marshal and unmarshal the message safely with our encoding function
type KafkaMessageWrapper struct {
Topic string `json:"topic"`
MessageKey []byte `json:"messageKey"`
Expand Down

0 comments on commit 0ed6cae

Please sign in to comment.