Skip to content

Instantly share code, notes, and snippets.

View avarne's full-sized avatar

Anand Varne avarne

  • Mumbai
View GitHub Profile
@avarne
avarne / .gitlab-ci.yml
Created September 28, 2021 04:54
GitLab CI pipeline to execute SonarQube Scan using maven and checking status using Sonar REST api
stages:
- codequality
sonar-check:
stage: codequality
tags:
- demo
script:
- echo "codequality started for project"
- export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64/ && export PATH=$JAVA_HOME/bin:$PATH
@avarne
avarne / docker-compose for kafka-connect
Created June 27, 2020 19:41
Kafka, Kafka-connect, Zookeeper using Docker-Compose
version: '2'
services:
zookeeper:
image: 'bitnami/zookeeper:3.5.7'
ports:
- '2181:2181'
volumes:
- './zookeeper_data:/bitnami'
environment:
@avarne
avarne / zookeeper-service
Last active June 27, 2020 19:56
Zookeeper service for docker-compose
services:
zookeeper:
image: 'bitnami/zookeeper:3.5.7'
container_name: zookeeper
ports:
- '2181:2181'
volumes:
- './zookeeper_data:/bitnami'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
@avarne
avarne / kafka-service
Created June 27, 2020 19:38
Kafka Service for docker-compose
kafka:
image: 'bitnami/kafka:2.5.0'
container_name: kafka
ports:
- '9092:9092'
volumes:
- './kafka_data:/bitnami'
- './kafka_log:/tmp/kafka_mounts/logs'
@avarne
avarne / kafka-connect-service
Last active November 19, 2020 06:20
Kafka Connect Service for docker-compose
kafka-connect:
image: 'bitnami/kafka:2.5.0'
container_name: kafka_connect
ports:
- '8079:8083'
volumes:
- './kafka_connect_data:/bitnami'
- './kafka_connect_config/connect-distributed.properties:/opt/bitnami/kafka/config/connect-distributed.properties'
depends_on:
- zookeeper