File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
src/main/java/com/hivemq/extensions/kafka/api Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+
16
17
package com .hivemq .extensions .kafka .api .builders ;
17
18
18
19
import com .hivemq .extension .sdk .api .annotations .NotNull ;
@@ -185,6 +186,7 @@ public interface KafkaRecordBuilder {
185
186
*
186
187
* @return a new {@link KafkaRecord} containing a snapshot of the current state of this builder.
187
188
* @throws NullPointerException if the topic was not set.
189
+ * @since 4.4.0
188
190
*/
189
191
@ NotNull KafkaRecord build ();
190
192
}
Original file line number Diff line number Diff line change 32
32
public interface KafkaCluster {
33
33
34
34
/**
35
- * @return the configured {@code <id>} of the luster .
35
+ * @return the configured {@code <id>} of the cluster .
36
36
* @since 4.4.0
37
37
*/
38
38
@ NotNull String getId ();
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+
16
17
package com .hivemq .extensions .kafka .api .model ;
17
18
18
19
import com .hivemq .extension .sdk .api .annotations .DoNotImplement ;
@@ -35,13 +36,14 @@ public interface KafkaHeaders {
35
36
36
37
/**
37
38
* @return all Kafka headers as a {@link List}.
39
+ * @since 4.4.0
38
40
*/
39
41
@ Immutable @ NotNull List <@ NotNull KafkaHeader > asList ();
40
42
41
43
/**
42
44
* @param name the name of the Kafka header to get.
43
45
* @return an {@link Optional} that contains the last Kafka header with the specified name.
44
- * @since 4.3 .0
46
+ * @since 4.4 .0
45
47
*/
46
48
@ NotNull Optional <KafkaHeader > getLast (@ NotNull String name );
47
49
You can’t perform that action at this time.
0 commit comments