disable record by default

This commit is contained in:
Zoltan Haindrich 2024-06-18 16:43:10 +00:00
parent 61dd670784
commit fdf115940b
2 changed files with 6 additions and 3 deletions

View File

@ -19,7 +19,7 @@ Can be used to write tests against existing test backends (ComponentSupplier) -
```
* launch the broker instance with:
```
mvn exec:exec -pl quidem-it
mvn exec:exec -pl quidem-it -Dquidem.record.autostart=true
```
* the broker will be running at http://localhost:12345
* the used test configuration backend can configured by supplying `quidem.uri`
@ -27,6 +27,8 @@ Can be used to write tests against existing test backends (ComponentSupplier) -
mvn exec:exec -pl quidem-it -Dquidem.uri=druidtest:///?componentSupplier=ThetaSketchComponentSupplier
```
* new record files can be started by calling http://localhost:12345/quidem/start
* if `quidem.record.autostart` is omitted recording will not start
* after finished with the usage of the broker ; a new `record-123.iq` file will be in the project's worktree - it will contain all the executed statements
* running `dev/quidem -Dquidem.overwrite` adds the resultsets to the `iq` file
* running `dev/quidem -Dquidem.overwrite` updates the resultsets of all `iq` files around there
* rename the testfile to have a more descriptive name

View File

@ -42,6 +42,7 @@
<properties>
<quidem.uri>druidtest:///</quidem.uri>
<quidem.record.autostart>false</quidem.record.autostart>
</properties>
<dependencies>
<dependency>
@ -512,7 +513,7 @@
<argument>-classpath</argument>
<classpath />
<argument>-Dquidem.uri=${quidem.uri}</argument>
<argument>-Dquidem.record.autostart=true</argument>
<argument>-Dquidem.record.autostart=${quidem.record.autostart}</argument>
<argument>org.apache.druid.quidem.Launcher</argument>
</arguments>
</configuration>