Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
ef8ce730
Commit
ef8ce730
authored
2 years ago
by
Lorenz Boguhn
Browse files
Options
Downloads
Patches
Plain Diff
Hazelcast: uc1 fix codestyle
parent
9b5ae78d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!275
Refactor hazelcast jet benchmarks:
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theodolite-benchmarks/uc1-hazelcastjet/src/main/java/rocks/theodolite/benchmarks/uc1/hazelcastjet/Uc1PipelineFactory.java
+5
-1
5 additions, 1 deletion
...olite/benchmarks/uc1/hazelcastjet/Uc1PipelineFactory.java
with
5 additions
and
1 deletion
theodolite-benchmarks/uc1-hazelcastjet/src/main/java/rocks/theodolite/benchmarks/uc1/hazelcastjet/Uc1PipelineFactory.java
+
5
−
1
View file @
ef8ce730
...
...
@@ -8,12 +8,15 @@ import com.hazelcast.jet.pipeline.StreamSource;
import
com.hazelcast.jet.pipeline.StreamStage
;
import
java.util.Map
;
import
java.util.Properties
;
import
rocks.theodolite.benchmarks.commons.model.records.ActivePowerRecord
;
import
rocks.theodolite.benchmarks.commons.hazelcastjet.PipelineFactory
;
import
rocks.theodolite.benchmarks.commons.model.records.ActivePowerRecord
;
import
rocks.theodolite.benchmarks.uc1.commons.DatabaseAdapter
;
import
rocks.theodolite.benchmarks.uc1.commons.DatabaseWriter
;
import
rocks.theodolite.benchmarks.uc1.commons.logger.LogWriterFactory
;
/**
* PipelineFactory for use case 1.
*/
public
class
Uc1PipelineFactory
extends
PipelineFactory
{
private
final
DatabaseAdapter
<
String
>
databaseAdapter
=
LogWriterFactory
.
forJson
();
...
...
@@ -33,6 +36,7 @@ public class Uc1PipelineFactory extends PipelineFactory {
*
* @return A Hazelcast Jet pipeline which processes data for Uc1.
*/
@Override
public
Pipeline
buildPipeline
()
{
// Define the Kafka Source
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment