Skip to content

Commit ca9d100

Browse files
committed
More KafkaHeaderMapper Javadocs
1 parent aba4ee2 commit ca9d100

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-kafka/src/main/java/org/springframework/kafka/support/KafkaHeaderMapper.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2019 the original author or authors.
2+
* Copyright 2017-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,8 +39,9 @@ public interface KafkaHeaderMapper {
3939
void fromHeaders(MessageHeaders headers, Headers target);
4040

4141
/**
42-
* Map from the given target headers to abstracted {@link MessageHeaders}.
43-
* @param source the native target headers.
42+
* Map from the given native headers to a map of headers for the eventual
43+
* {@link MessageHeaders}.
44+
* @param source the native headers.
4445
* @param target the target headers.
4546
*/
4647
void toHeaders(Headers source, Map<String, Object> target);

0 commit comments

Comments
 (0)