Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.22 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.22 KB

ping-source-operator

This application demonstrates usage of JOSDK CachingInboundEventSource.

Running the application in dev mode

You can run the application in dev mode that enables live coding using:

./mvnw compile quarkus:dev

Design

A PingSource resource allows to publish a message periodically. The content and the schedule can be specified.

apiVersion: com.inulogic/v1alpha1
kind: PingSource
metadata:
  name: client
spec:
  schedule: "0/1 * * ? * * *"
  contentType: application/json
  data: |
    {}
Field Description
spec.schedule Specifies the cron schedule.
spec.data The data used as the body of the message.
spec.contentType The media type of data.