Skip to content
Snippets Groups Projects
Commit e4d90010 authored by Sören Henning's avatar Sören Henning
Browse files

Merge branch 'refactor-beam-service' into align-benchmark-package-structure

parents 5af631b2 f9cfb495
No related branches found
No related tags found
2 merge requests!250Refactor Beam service,!249Align package structure among all benchmark implementations
Pipeline #6838 passed
...@@ -527,7 +527,7 @@ data: ...@@ -527,7 +527,7 @@ data:
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum by(topic) (kafka_topic_partitions >= 0)", "expr": "kafka_topic_partitions",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "{{topic}}", "legendFormat": "{{topic}}",
......
...@@ -34,7 +34,7 @@ final class DocumentMapper extends SimpleFunction<ActivePowerRecord, Document> { ...@@ -34,7 +34,7 @@ final class DocumentMapper extends SimpleFunction<ActivePowerRecord, Document> {
private String createDocumentName(final String documentId) { private String createDocumentName(final String documentId) {
this.initFirestoreConfig(); this.initFirestoreConfig();
return "projects/" + this.firestoreConfig.getProjectId() return "projects/" + this.firestoreConfig.getProjectId()
+ "/databases/" + this.firestoreConfig.getDatabaseDdlRequest() + "/databases/" + this.firestoreConfig.getDatabase()
+ "/documents/" + this.collection + "/documents/" + this.collection
+ "/" + documentId; + "/" + documentId;
} }
......
...@@ -16,8 +16,8 @@ final class FirestoreConfig { ...@@ -16,8 +16,8 @@ final class FirestoreConfig {
return this.firestoreOptions.getProjectId(); return this.firestoreOptions.getProjectId();
} }
public String getDatabaseDdlRequest() { public String getDatabase() {
return this.firestoreOptions.getProjectId(); return this.firestoreOptions.getDatabaseId();
} }
public static FirestoreConfig createFromDefaults() throws IOException { public static FirestoreConfig createFromDefaults() throws IOException {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment