Skip to content

Instantly share code, notes, and snippets.

View dineshbhagat's full-sized avatar
🌏 dev-engers assemble

DB dineshbhagat

🌏 dev-engers assemble
View GitHub Profile

openjdk-shenandoah-jdk11

Get builds from here: https://builds.shipilev.net/

if it is not found for your platform, you can build it from source:

For macosx:

Download source code from here

follow steps

/**
   ABC
 x  AA
 ------
 AACC
/*
for (int i = 1; i <= 9; i++) {
// in testing module
package com.example.demo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.kafka.test.EmbeddedKafkaBroker;
import org.springframework.kafka.test.context.EmbeddedKafka;
@dineshbhagat
dineshbhagat / apache-camel-url.md
Last active July 10, 2019 16:18
apache-camel-url pattern for version higher and lesser than 2.22.0

apache-camel-kafka version >= 2.22

# consumer URL, should be in one line, for readability added new lines
kafka.url=kafka://
${kafka.topic}
?
brokers=${kafka.broker}&
&groupId=${kafka.groupId}
serializerClass=org.apache.kafka.common.serialization.StringSerializer&
keySerializerClass=org.apache.kafka.common.serialization.StringSerializer&