Skip to content

Commit

Permalink
Modified to PolicyHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
user15 committed Jun 15, 2020
1 parent 03ee202 commit fd0f9fc
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
package com.example.template;

import com.example.template.config.kafka.KafkaProcessor;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.messaging.handler.annotation.Payload;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.Optional;

@Service
public class OrderService {
public class PolicyHandler {

@Autowired
private ProductRepository productRepository;
Expand Down

0 comments on commit fd0f9fc

Please sign in to comment.