Skip to content

Commit 99773e8

Browse files
committed
Added IllegalArgumentException to topic
1 parent 7497172 commit 99773e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/hivemq/extensions/kafka/api/builders/KafkaRecordBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public interface KafkaRecordBuilder {
4646
*
4747
* @param topic the name of the topic.
4848
* @return this builder
49+
* @throws IllegalArgumentException if topic is not a valid name for a Kafka topic
4950
* @since 4.4.0
5051
*/
5152
@NotNull KafkaRecordBuilder topic(@NotNull String topic);

0 commit comments

Comments
 (0)