Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Real Time
Streams
Stream Admin Service
Commits
a2763692
Commit
a2763692
authored
Oct 01, 2021
by
Stephen Nimmo
Browse files
Added comments
parent
bcee2653
Pipeline
#69445
failed with stages
in 3 minutes and 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/opengroup/osdu/streaming/di/StorageClientFactory.java
View file @
a2763692
...
...
@@ -53,7 +53,7 @@ public class StorageClientFactory extends AbstractFactoryBean<IStorageFactory> {
}
@Override
protected
IStorageFactory
createInstance
()
throws
Exception
{
protected
IStorageFactory
createInstance
()
{
logger
.
debug
(
"Creating instance of IStorageFactory... "
+
this
.
getClass
().
getName
());
return
new
StorageFactory
(
StorageAPIConfig
.
builder
().
rootUrl
(
STORAGE_API
).
build
(),
bodyMapper
);
}
...
...
src/main/java/org/opengroup/osdu/streaming/service/TopicAdminServiceImpl.java
View file @
a2763692
...
...
@@ -16,6 +16,7 @@ public class TopicAdminServiceImpl implements TopicAdminService {
public
NewTopic
createTopic
(
StreamRecord
streamRecord
)
{
logger
.
debug
(
"Creating Topic for StreamRecord: {}"
,
streamRecord
);
return
TopicBuilder
.
name
(
streamRecord
.
getKind
())
//TODO: How to setup partitions and topics
.
partitions
(
10
)
.
replicas
(
3
)
.
build
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment