Created
November 26, 2015 15:22
-
-
Save joshjdevl/4e7a5fb35e045050fc86 to your computer and use it in GitHub Desktop.
kafka yml
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
| #http://stackoverflow.com/questions/20028451/change-dropwizard-default-ports | |
| producer: | |
| "bootstrap.servers": "kafka:9092" | |
| "key.serializer": "org.apache.kafka.common.serialization.ByteArraySerializer" | |
| "value.serializer": "org.apache.kafka.common.serialization.ByteArraySerializer" | |
| consumer: | |
| "zookeeper.connect": "zk:2181" | |
| "group.id": "group" | |
| "auto.offset.reset": "smallest" | |
| "consumer.timeout.ms": "500" | |
| server: | |
| applicationConnectors: | |
| - type: http | |
| port: 17273 | |
| adminConnectors: | |
| - type: http | |
| port: 17274 | |
| # Logging settings. | |
| logging: | |
| # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. | |
| level: INFO | |
| # Logger-specific levels. | |
| loggers: | |
| # Sets the level for 'com.example.app' to DEBUG. | |
| com.example.app: DEBUG | |
| # Redirects SQL logs to a separate file | |
| org.hibernate.SQL: | |
| level: DEBUG | |
| # Logback's Time Based Rolling Policy - archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}.log.gz | |
| # Logback's Size and Time Based Rolling Policy - archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}-%i.log.gz | |
| # Logback's Fixed Window Rolling Policy - archivedLogFilenamePattern: /tmp/application-%i.log.gz | |
| appenders: | |
| - type: console | |
| - type: file | |
| threshold: INFO | |
| logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n" | |
| currentLogFilename: /tmp/application.log | |
| archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}-%i.log.gz | |
| archivedFileCount: 7 | |
| timeZone: UTC | |
| maxFileSize: 10MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment