sonar
This commit is contained in:
@@ -17,7 +17,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
||||||
import org.springframework.kafka.annotation.KafkaListener;
|
import org.springframework.kafka.annotation.KafkaListener;
|
||||||
import org.springframework.kafka.listener.ConsumerSeekAware;
|
|
||||||
import org.springframework.messaging.support.MessageBuilder;
|
import org.springframework.messaging.support.MessageBuilder;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
@@ -42,7 +41,7 @@ import java.util.concurrent.Executors;
|
|||||||
@Component
|
@Component
|
||||||
@RestController
|
@RestController
|
||||||
@RefreshScope
|
@RefreshScope
|
||||||
public class CorpusProcessKafkaProducer implements ConsumerSeekAware {
|
public class CorpusProcessKafkaProducer {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private TmTelephoneCorpusService tmTelephoneCorpusService;
|
private TmTelephoneCorpusService tmTelephoneCorpusService;
|
||||||
|
|||||||
Reference in New Issue
Block a user