-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Suneet project for spring cloud kafka consumer
- Loading branch information
Showing
9 changed files
with
114 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"generator-jhipster": { | ||
"applicationType": "monolith", | ||
"authenticationType": "jwt", | ||
"baseName": "sampleMongoKafka", | ||
"blueprints": [], | ||
"buildTool": "maven", | ||
"cacheProvider": "ehcache", | ||
"clientFramework": "angular", | ||
"clientPackageManager": "npm", | ||
"clientTheme": "none", | ||
"creationTimestamp": 1596513172471, | ||
"databaseType": "mongodb", | ||
"devDatabaseType": "mongodb", | ||
"dtoSuffix": "DTO", | ||
"embeddableLaunchScript": false, | ||
"enableHibernateCache": false, | ||
"enableTranslation": true, | ||
"entitySuffix": "", | ||
"jhiPrefix": "myPrefix", | ||
"jwtSecretKey": "ZjY4MTM4YjI5YzMwZjhjYjI2OTNkNTRjMWQ5Y2Q0Y2YwOWNmZTE2NzRmYzU3NTMwM2NjOTE3MTllOTM3MWRkMzcyYTljMjVmNmQ0Y2MxOTUzODc0MDhhMTlkMDIxMzI2YzQzZDM2ZDE3MmQ3NjVkODk3OTVmYzljYTQyZDNmMTQ=", | ||
"languages": ["en", "fr"], | ||
"messageBroker": "kafka", | ||
"nativeLanguage": "en", | ||
"otherModules": [], | ||
"packageFolder": "tech/jhipster/sample", | ||
"packageName": "tech.jhipster.sample", | ||
"prodDatabaseType": "mongodb", | ||
"searchEngine": false, | ||
"serverPort": "8080", | ||
"serviceDiscoveryType": false, | ||
"testFrameworks": ["gatling", "cucumber", "cypress"], | ||
"websocket": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
suneet/src/main/java/tech/jhipster/sample/config/KafkaSseConsumer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package tech.jhipster.sample.config; | ||
|
||
import org.springframework.cloud.stream.annotation.Input; | ||
import org.springframework.messaging.MessageChannel; | ||
// import org.springframework.cloud.stream.annotation.Input; | ||
// import org.springframework.messaging.MessageChannel; | ||
|
||
public interface KafkaSseConsumer { | ||
String CHANNELNAME = "binding-in-sse"; | ||
|
||
@Input(CHANNELNAME) | ||
MessageChannel input(); | ||
// @Input(CHANNELNAME) | ||
// MessageChannel input(); | ||
} |
8 changes: 4 additions & 4 deletions
8
suneet/src/main/java/tech/jhipster/sample/config/KafkaSseProducer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package tech.jhipster.sample.config; | ||
|
||
import org.springframework.cloud.stream.annotation.Output; | ||
import org.springframework.messaging.MessageChannel; | ||
// import org.springframework.cloud.stream.annotation.Output; | ||
// import org.springframework.messaging.MessageChannel; | ||
|
||
public interface KafkaSseProducer { | ||
String CHANNELNAME = "binding-out-sse"; | ||
|
||
@Output(CHANNELNAME) | ||
MessageChannel output(); | ||
// @Output(CHANNELNAME) | ||
// MessageChannel output(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters