If JMX_PORT is specified, the command line tools are exited with the following exception:
Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 5555
use unset JMX_PORT to unset the port and make the tools work.
| val committerSettings = CommitterSettings.create(system) | |
| val innerControl = new AtomicReference[Consumer.Control](Consumer.NoopControl) | |
| val stream = RestartSource.withBackoff( | |
| minBackoff = 3.seconds, | |
| maxBackoff = 30.seconds, | |
| randomFactor = 0.2, | |
| ) { () => | |
| Consumer | |
| .committableSource(consumerSettings, Subscriptions.topics(topic)) |
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_PROMETHEUS", | |
| "label": "Prometheus", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "prometheus", | |
| "pluginName": "Prometheus" | |
| } |
| --- | |
| lowercaseOutputName: true | |
| lowercaseOutputLabelNames: true | |
| rules: | |
| - pattern: "^org.apache.activemq.artemis<broker=\"([^\"]*)\"><>([^:]*):\\s(.*)" | |
| attrNameSnakeCase: true | |
| name: artemis_$2 | |
| type: COUNTER | |
| labels: | |
| host: $1 |
| import com.google.protobuf.ByteString; | |
| import akka.actor.Props; | |
| import akka.event.DiagnosticLoggingAdapter; | |
| import akka.event.Logging; | |
| import akka.japi.pf.ReceiveBuilder; | |
| import akka.persistence.AbstractPersistentActorWithAtLeastOnceDelivery; | |
| import akka.persistence.AtLeastOnceDelivery; | |
| import akka.persistence.RecoveryCompleted; | |
| import akka.persistence.SaveSnapshotFailure; |
I hereby claim:
To claim this, I am signing this object: