How to Increase Replication Factor for a Kafka topic
Have you noticed that some topics in your Kafka cluster have a suboptimal replication factor? This could be due to initial setup, low traffic, or the product being in its…
Read Full RecipeHave you noticed that some topics in your Kafka cluster have a suboptimal replication factor? This could be due to initial setup, low traffic, or the product being in its…
Read Full RecipeJust sharing few commands to load a .bash_profile without exiting from terminal or command line [java] source ~/.bash_profile or do . ~/.bash_profile [/java]
Read Full RecipeWe will look at how class hierarchies in Jackson works. We will take an example of building a Notification Service Pojo to demonstrate this. Below is the package/class diagram for…
Read Full RecipeHere is a list of top Kafka interview question based on my exposure to Apache Kafka Kafka Basics What is Apache KafkaWhat are topics and partitions What are various components of…
Read Full RecipeFor different workspace sources and javadoc from maven repo can be download as follows: Eclipse [java] apply plugin: 'java' apply plugin: 'eclipse' eclipse { classpath { downloadJavadoc = true downloadSources…
Read Full Recipeulimit is a shell command to control the resources available to a bash shell and all the programs that are started from this shell. We can get and set the ulimit…
Read Full RecipeFirst download certificate in java file [java] echo -n | openssl s_client -servername <hostname> -connect <hostname>:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/key.cert[/java] Import it using keytool command [java]keytool…
Read Full RecipeSometime back I got below error while connecting to SSL secured site in java. I was using java 8 update 60. Why this error comes and how to resolve it.…
Read Full RecipeRecently faced an issue where the docker stop was not calling a shutdown hook was not working correctly. The same application when run as a spring boot applicaiton or jar…
Read Full RecipeRemove all existing keysGenerate ssh key for the current user which wants to commit to githubadd the ssh key for new userInitialise the new Repository Add the remote url ( here…
Read Full Recipe