You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take a look at bullet_settings.yaml for the settings that are being overridden for this example. You can add or change settings as you like by referring to [bullet_defaults.yaml](https://github.com/yahoo/bullet-storm/blob/master/src/main/resources/bullet_defaults.yaml).
103
+
Take a look at bullet_settings.yaml for the settings that are being overridden for this example. You can add or change settings as you like by referring to [bullet_defaults.yaml](https://github.com/yahoo/bullet-storm/blob/master/src/main/resources/bullet_defaults.yaml). In particular, we
104
+
have customized these settings that affect the Bullet queries you can run:
105
+
106
+
```bullet.rule.max.duration: 570000``` Longest query time can be 570s. The Storm cluster default DRPC timeout is 600s.
107
+
108
+
```bullet.rule.aggregation.raw.max.size: 500``` The max ```RAW``` records you can fetch is 500.
109
+
110
+
```bullet.rule.aggregation.max.size: 1024``` The max records you can fetch for any query is 1024.
111
+
112
+
```bullet.rule.aggregation.count.distinct.sketch.entries: 16384``` We can count 16384 unique values exactly. Approximates after.
113
+
114
+
```bullet.rule.aggregation.group.sketch.entries: 1024``` The max unique groups can be 1024. Uniform sample after.
104
115
105
116
#### Step 6: Launch the topology
106
117
@@ -273,28 +284,27 @@ This method above emits the tuples. The Storm framework calls this method. This
This method generates some fields randomly and inserts them into a BulletRecord. Note that the BulletRecord is typed and all data must be inserted with the proper types. If you put Bullet on your data, you will need to write a Spout (or a topology if your reading is complex), that reads from your data source and emits BulletRecords with the fields you wish to be queryable placed into a BulletRecord.
293
307
294
-
!!! note "Reusing Maps?"
295
-
296
-
There is no need to reuse maps. This example tries to be as efficient as possible in order to allow variable throughputs.
297
-
298
308
### Web Service
299
309
300
310
We launched the Web Service using two custom files - a properties file and JSON schema file.
0 commit comments