## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements.  See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License.  You may obtain a copy of the License at
##
##      http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------

#Kafka topic Name
kafka.topic.name=test

# How often should the messages be generated and pushed to Kafka Topic
timer.period = 10000
timer.delay = 10000

# uncomment to set Kafka instance with SASL Oauth Bearer
camel.component.kafka.brokers = <brokers>
camel.component.kafka.security-protocol = SASL_SSL
camel.component.kafka.sasl-mechanism = OAUTHBEARER
camel.component.kafka.sasl-jaas-config = org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required \
        oauth.client.id="<client_id>" \
        oauth.client.secret="<client_secret>" \
        oauth.token.endpoint.uri="<token_endpoint_url>" ;
camel.component.kafka.additional-properties[sasl.login.callback.handler.class] = io.strimzi.kafka.oauth.client.JaasClientOauthLoginCallbackHandler
camel.component.kafka.additional-properties[apicurio.registry.url] = <registry_url>
camel.component.kafka.additional-properties[apicurio.auth.client.id] = <client_id>
camel.component.kafka.additional-properties[apicurio.auth.client.secret] = <client_secret>
camel.component.kafka.additional-properties[apicurio.auth.service.token.endpoint] = <token_endpoint_url>
camel.component.kafka.additional-properties[apicurio.registry.avro-datum-provider] = io.apicurio.registry.serde.avro.ReflectAvroDatumProvider
camel.component.kafka.additional-properties[apicurio.registry.artifact-resolver-strategy] = io.apicurio.registry.serde.avro.strategy.RecordIdStrategy
camel.component.kafka.valueSerializer = io.apicurio.registry.serde.avro.AvroKafkaSerializer
