Skip to content

Instantly share code, notes, and snippets.

Avatar

Anand Varne avarne

  • Mumbai
View GitHub Profile
@avarne
avarne / .gitlab-ci.yml
Created Sep 28, 2021
GitLab CI pipeline to execute SonarQube Scan using maven and checking status using Sonar REST api
View .gitlab-ci.yml
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 Jun 27, 2020
Kafka, Kafka-connect, Zookeeper using Docker-Compose
View docker-compose for kafka-connect
version: '2'
services:
zookeeper:
image: 'bitnami/zookeeper:3.5.7'
ports:
- '2181:2181'
volumes:
- './zookeeper_data:/bitnami'
environment:
@avarne
avarne / zookeeper-service
Last active Jun 27, 2020
Zookeeper service for docker-compose
View zookeeper-service
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 Jun 27, 2020
Kafka Service for docker-compose
View kafka-service
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 Nov 19, 2020
Kafka Connect Service for docker-compose
View kafka-connect-service
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