projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEU
[demos/kafka/chat]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
ChatBackendProperties.java
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/ChatBackendProperties.java
b/src/main/java/de/juplo/kafka/chat/backend/ChatBackendProperties.java
index
4724f6b
..
da58b53
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/ChatBackendProperties.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/ChatBackendProperties.java
@@
-34,11
+34,14
@@
public class ChatBackendProperties
@Setter
public static class KafkaServicesProperties
{
@Setter
public static class KafkaServicesProperties
{
- private String topic = "test";
+ private String clientIdPrefix;
+ private String bootstrapServers = ":9092";
+ private String chatroomChannelTopic = "chatroom_channel";
+ private String messageChannelTopic = "message_channel";
private int numPartitions = 2;
}
private int numPartitions = 2;
}
- public enum ServiceType { inmemory }
+ public enum ServiceType { inmemory
, kafka
}
public enum StorageStrategyType { files, mongodb }
public enum ShardingStrategyType { none, kafkalike }
}
public enum StorageStrategyType { files, mongodb }
public enum ShardingStrategyType { none, kafkalike }
}