Şöyle yaparız
<plugin><groupId>io.confluent</groupId><artifactId>kafka-schema-registry-maven-plugin</artifactId><version>${confluent.version}</version><configuration><schemaRegistryUrls><param>http://localhost:8081</param></schemaRegistryUrls><subjects><send-payment-value>${project.basedir}/src/main/resources/avro/send_payment.avsc</send-payment-value><payment-sent-value>${project.basedir}/src/main/resources/avro/payment_sent.avsc</payment-sent-value></subjects></configuration><goals><goal>register</goal></goals></plugin>
acro dizininde Şöyle yaparız
mvn schema-registry:register
Hiç yorum yok:
Yorum Gönder