MySQL · Apache · Kafka

Apache Kafka – Topic to Database (MySQL – Table replication from Employees to Employees_replica via kafka topic)

https://github.com/chriszones2000/Kafka-Java/blob/master/TopicToDB.java

 

Advertisements
MySQL · Apache · Kafka

Apache Kafka & MySQL – Database to Topic

https://github.com/chriszones2000/Kafka-Java/blob/master/DBToTopic.java

Apache · Kafka

Apache Kafka – Simple Producer [python]

https://github.com/chriszones2000/Kafka-Python/blob/master/SimpleProducer.py

Redhat / CEntOS / Oracle Linux · Tips and Tricks

How to Delete all files except a Pattern in Unix

Good Morning To All My TECH Ghettos,

Today ima show ya’ll a fuckin command to delete all files except a pattern,

ya’ll can use it in a script or even commandline ……. Life gets easy as Fuck !!!!!!!!

find . -type f ! -name ‘<pattern>’ -delete

A Live Example

Before

Before

After the following Command

find . -type f ! -name ‘*.gz’ -delete

After

Apache · Cassandra

Apache Kafka – Simple Consumer [python]

 

Source Code :-

https://github.com/chriszones2000/Kafka-Python/blob/master/SimpleConsumer.py

Apache · Cassandra · Kafka

Apache Kafka / Cassandra – Input CSV , Publish to Topic, Consume CSV and Insert into DB

 

source :-

https://github.com/chriszones2000/Kafka-Java