Skip to content

Commit

Permalink
Update spring boot
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslcj committed Jul 26, 2023
1 parent fd4acfc commit a4180ae
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;

/**
* @author liujiang
*/
@Slf4j
@Component
public class ConsumerDemo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
import org.springframework.stereotype.Component;
import org.springframework.util.concurrent.ListenableFuture;

/**
* @author liujiang
*/
@Slf4j
@Component
public class ProducerDemo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
* @author liujiang
*/
@SpringBootApplication
public class VpcApplication {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
/**
* Kafka消费端配置
*
* @author liujiang
*/
@Configuration
@EnableKafka
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
import java.util.HashMap;
import java.util.Map;

/**
* @author liujiang
*/
@Configuration
public class KafkaProducerConfig {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
* @author liujiang
*/
@Configuration
@Data
public class PropertiesConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* @author liujiang
*/
@RestController
@RequestMapping("/kafka")
public class KafkaController {
Expand Down

0 comments on commit a4180ae

Please sign in to comment.