This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company.project.event.client; | |
| import com.company.project.event.v1.FooEvent; | |
| import io.micronaut.configuration.kafka.annotation.KafkaClient; | |
| import io.micronaut.configuration.kafka.annotation.KafkaKey; | |
| import io.micronaut.configuration.kafka.annotation.Topic; | |
| import io.micronaut.context.annotation.Requires; | |
| import io.micronaut.retry.annotation.Retryable; | |
| @KafkaClient(id = "foo-events-kafka-client") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.company.kafka.client; | |
| import com.company.avro.PersonObject; | |
| import io.micronaut.configuration.kafka.annotation.KafkaClient; | |
| import io.micronaut.configuration.kafka.annotation.KafkaKey; | |
| import io.micronaut.configuration.kafka.annotation.Topic; | |
| @KafkaClient(id = "person-object-client") | |
| public interface PersonObjectClient { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2017-2019 original authors | |
| * | |
| * Licensed 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| micronaut: | |
| server: | |
| port: 8080 | |
| kafka: | |
| embedded.enabled: true | |
| schema: | |
| registry: | |
| url: ${SCHEMA_REGISTRY_URL:`http://localhost:8080`} | |
| client.id: ${random.uuid} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2017-2019 original authors | |
| * | |
| * Licensed 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nohup datadog-agent start -c /etc/datadog-agent/datadog.yaml > /logs/datadog-agent.log 2>&1& | |
| if [ "$DATADOG_APM_ENABLED" = "true" ]; then | |
| nohup trace-agent -config /etc/datadog-agent/datadog.yaml > /logs/trace-agent.log 2>&1& | |
| fi | |
| if [ "$DATADOG_PROCESS_ENABLED" = "true" ]; then | |
| nohup process-agent -config /etc/datadog-agent/datadog.yaml > /logs/process-agent.log 2>&1& | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [supervisorctl] | |
| serverurl = unix:///opt/datadog-agent/run/datadog-supervisor.sock | |
| [unix_http_server] | |
| file=/opt/datadog-agent/run/datadog-supervisor.sock | |
| [rpcinterface:supervisor] | |
| supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
| [supervisord] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dd_url: %DD_URL% | |
| api_key: %DD_API_KEY% | |
| tags: %DD_TAGS% | |
| non_local_traffic: yes | |
| dogstatsd_non_local_traffic: yes | |
| log_to_syslog: no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Main] | |
| dd_url = %DD_URL% | |
| api_key = %API_KEY% | |
| gce_updated_hostname = yes | |
| hostname = %DD_HOSTNAME% | |
| tags = %DD_TAGS% | |
| non_local_traffic = yes | |
| log_to_syslog = no | |
| [trace.sampler] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var base = ['springboot', 'spring-test', 'logging', 'spock']; | |
| var common = [].concat(base); | |
| var data = ['dbsync', 'mysql', 'jdbc']; | |
| var data_jpa = ['data-jpa']; | |
| var web = ['web', 'actuator', 'payload-client', 'sba-client', 'cloud-hystrix', 'cloud-hystrix-dashboard', 'springfox', 'springfoxui', 'springfoxbean', 'restdocs', 'cloud-starter-zipkin']; | |
| var all = [].concat(web, _toConsumableArray(common), data, data_jpa); | |
| $("#archetype").on("change", function () { | |
| $("#starters div").remove(); | |
| $("#dependencies input").prop('checked', false); |