Skip to content

Gravitee.io - API Management - Reporter - Kafka

License

Notifications You must be signed in to change notification settings

gravitee-io-community/gravitee-reporter-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravitee Kafka Reporter

Gravitee.io License Releases CircleCI Join the community forum

Presentation

Report GraviteeIO Gateway request events to Kafka brokers

Build

This plugin require :

  • Maven 3

  • JDK 8

Once built, a plugin archive file is generated in : target/gravitee-reporter-kafka-1.0.0-SNAPSHOT.zip

Deploy

Just unzip the plugin archive in your gravitee plugin workspace ( default is : ${node.home}/plugins )

Configuration

The configuration is loaded from the common GraviteeIO Gateway configuration file (gravitee.yml) All kafka producer properties are allowed and available on the [official documentation website](https://kafka.apache.org/documentation/#producerconfigs) .

Please note compability of this plugin with yours Kafka Brokers. Vertx kafka client 3.5.0 uses Kafka 0.10.2.1 , 3.5.1 uses Kafka 1.0.0.

Currently this plugin relies on 3.5.0.

See:

Example :

For a secured Kafka with SSL and Kerberos

reporters:
  kafka:
    topic: gateway_log_topic
    hosts:
      - node1:6062
      - node2:6062
    type:
      - log
      - monitor
    java:
      security:
        krb5:
          conf: /opt/krb5.conf
    settings:
      acks: 1
      security:
        protocol: SASL_SSL
      sasl:
        jaas:
          config: >-
            com.sun.security.auth.module.Krb5LoginModule required
            useKeyTab=true
            refreshKrb5Config=true
            storeKey=true
            serviceName="kafka"
            keyTab="/opt/key.keytab"
            principal="[email protected]";

About

Gravitee.io - API Management - Reporter - Kafka

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages