This repository contains many Spring usage examples.
- springboot-helloworld
This module is a example of http-request handler, which can return "Hello World".Meanwhile, it contains JUnit test function.
- springboot-RestTemplate
This module is a example of http post-request for InfluxDB, which posts vehicles' speed to the db.
- springboot-bean
This module is a example of Spring IoC, which create and use Bean object by annotations.
- springboot-kafka-basic
This module is a example of Spring-Kafka usage.You can copy springboot-kafka-basic-quickstart.sh in this module to KAFKA_HOME and run it, which help you quick start kafka.
- springboot-kafka-serializer
This module is a example of Spring-Kafka SELF-DEFINED serializer usage.You can copy kafka-quickstart.sh in this module to KAFKA_HOME and run it, which help you quick start kafka.
- springboot-security
This module is a example of Spring-Security.The springboot-parent version must match, otherwise will "stream classdesc serialVersionUID = 500, local class serialVersionUID = 510".
Neyzoter Song
Email : [email protected]