Skip to content

Commit

Permalink
v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
whynowy committed Mar 9, 2023
1 parent fe530bb commit 6389d68
Show file tree
Hide file tree
Showing 157 changed files with 1,413 additions and 157 deletions.
10 changes: 6 additions & 4 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Numaflow

- API version: v0.7.0
- API version: v0.7.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Expand Down Expand Up @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.numaproj.numaflow</groupId>
<artifactId>numaflow-client-java</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "io.numaproj.numaflow:numaflow-client-java:0.7.0"
compile "io.numaproj.numaflow:numaflow-client-java:0.7.1"
```

### Others
Expand All @@ -63,7 +63,7 @@ mvn clean package

Then manually install the following JARs:

- `target/numaflow-client-java-0.7.0.jar`
- `target/numaflow-client-java-0.7.1.jar`
- `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -140,8 +140,10 @@ Class | Method | HTTP request | Description
- [Status](docs/Status.md)
- [TLS](docs/TLS.md)
- [Templates](docs/Templates.md)
- [Transformer](docs/Transformer.md)
- [UDF](docs/UDF.md)
- [UDSink](docs/UDSink.md)
- [UDTransformer](docs/UDTransformer.md)
- [Vertex](docs/Vertex.md)
- [VertexInstance](docs/VertexInstance.md)
- [VertexLimits](docs/VertexLimits.md)
Expand Down
2 changes: 2 additions & 0 deletions java/docs/AbstractPodTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ AbstractPodTemplate provides a template for pod customization in vertices, daemo
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**affinity** | **V1Affinity** | | [optional]
**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
**imagePullSecrets** | **List&lt;V1LocalObjectReference&gt;** | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional]
**metadata** | [**Metadata**](Metadata.md) | | [optional]
**nodeSelector** | **Map&lt;String, String&gt;** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node&#39;s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional]
**priority** | **Integer** | The priority value. Various system components use this field to find the priority of the Redis pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**priorityClassName** | **String** | If specified, indicates the Redis pod&#39;s priority. \&quot;system-node-critical\&quot; and \&quot;system-cluster-critical\&quot; are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**runtimeClassName** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \&quot;legacy\&quot; RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class | [optional]
**securityContext** | **V1PodSecurityContext** | | [optional]
**serviceAccountName** | **String** | ServiceAccountName applied to the pod | [optional]
**tolerations** | **List&lt;V1Toleration&gt;** | If specified, the pod&#39;s tolerations. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions java/docs/AbstractVertex.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**affinity** | **V1Affinity** | | [optional]
**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
**containerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**imagePullSecrets** | **List&lt;V1LocalObjectReference&gt;** | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional]
**initContainerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
Expand All @@ -18,6 +19,7 @@ Name | Type | Description | Notes
**nodeSelector** | **Map&lt;String, String&gt;** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node&#39;s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional]
**priority** | **Integer** | The priority value. Various system components use this field to find the priority of the Redis pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**priorityClassName** | **String** | If specified, indicates the Redis pod&#39;s priority. \&quot;system-node-critical\&quot; and \&quot;system-cluster-critical\&quot; are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**runtimeClassName** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \&quot;legacy\&quot; RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class | [optional]
**scale** | [**Scale**](Scale.md) | | [optional]
**securityContext** | **V1PodSecurityContext** | | [optional]
**serviceAccountName** | **String** | ServiceAccountName applied to the pod | [optional]
Expand Down
2 changes: 2 additions & 0 deletions java/docs/Container.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Container

Container is used to define the container properties for user defined functions, sinks, etc.

## Properties

Expand All @@ -12,6 +13,7 @@ Name | Type | Description | Notes
**env** | **List&lt;V1EnvVar&gt;** | | [optional]
**image** | **String** | | [optional]
**resources** | **V1ResourceRequirements** | | [optional]
**securityContext** | **V1SecurityContext** | | [optional]
**volumeMounts** | **List&lt;V1VolumeMount&gt;** | | [optional]


Expand Down
2 changes: 2 additions & 0 deletions java/docs/DaemonTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**affinity** | **V1Affinity** | | [optional]
**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
**containerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**imagePullSecrets** | **List&lt;V1LocalObjectReference&gt;** | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional]
**initContainerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
Expand All @@ -16,6 +17,7 @@ Name | Type | Description | Notes
**priority** | **Integer** | The priority value. Various system components use this field to find the priority of the Redis pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**priorityClassName** | **String** | If specified, indicates the Redis pod&#39;s priority. \&quot;system-node-critical\&quot; and \&quot;system-cluster-critical\&quot; are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**replicas** | **Integer** | Replicas is the number of desired replicas of the Deployment. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller | [optional]
**runtimeClassName** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \&quot;legacy\&quot; RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class | [optional]
**securityContext** | **V1PodSecurityContext** | | [optional]
**serviceAccountName** | **String** | ServiceAccountName applied to the pod | [optional]
**tolerations** | **List&lt;V1Toleration&gt;** | If specified, the pod&#39;s tolerations. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions java/docs/JetStreamBufferService.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**affinity** | **V1Affinity** | | [optional]
**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
**bufferConfig** | **String** | Optional configuration for the streams, consumers and buckets to be created in this JetStream service, if specified, it will be merged with the default configuration in numaflow-controller-config. It accepts a YAML format configuration, it may include 4 sections, \&quot;stream\&quot;, \&quot;consumer\&quot;, \&quot;otBucket\&quot; and \&quot;procBucket\&quot;. Available fields under \&quot;stream\&quot; include \&quot;retention\&quot; (e.g. interest, limits, workerQueue), \&quot;maxMsgs\&quot;, \&quot;maxAge\&quot; (e.g. 72h), \&quot;replicas\&quot; (1, 3, 5), \&quot;duplicates\&quot; (e.g. 5m). Available fields under \&quot;consumer\&quot; include \&quot;ackWait\&quot; (e.g. 60s) Available fields under \&quot;otBucket\&quot; include \&quot;maxValueSize\&quot;, \&quot;history\&quot;, \&quot;ttl\&quot; (e.g. 72h), \&quot;maxBytes\&quot;, \&quot;replicas\&quot; (1, 3, 5). Available fields under \&quot;procBucket\&quot; include \&quot;maxValueSize\&quot;, \&quot;history\&quot;, \&quot;ttl\&quot; (e.g. 72h), \&quot;maxBytes\&quot;, \&quot;replicas\&quot; (1, 3, 5). | [optional]
**containerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**encryption** | **Boolean** | Whether encrypt the data at rest, defaults to false Enabling encryption might impact the performance, see https://docs.nats.io/running-a-nats-service/nats_admin/jetstream_admin/encryption_at_rest for the detail Toggling the value will impact encypting/decrypting existing messages. | [optional]
Expand All @@ -20,6 +21,7 @@ Name | Type | Description | Notes
**priorityClassName** | **String** | If specified, indicates the Redis pod&#39;s priority. \&quot;system-node-critical\&quot; and \&quot;system-cluster-critical\&quot; are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**reloaderContainerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**replicas** | **Integer** | Redis StatefulSet size | [optional]
**runtimeClassName** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \&quot;legacy\&quot; RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class | [optional]
**securityContext** | **V1PodSecurityContext** | | [optional]
**serviceAccountName** | **String** | ServiceAccountName applied to the pod | [optional]
**settings** | **String** | JetStream configuration, if not specified, global settings in numaflow-controller-config will be used. See https://docs.nats.io/running-a-nats-service/configuration#jetstream. Only configure \&quot;max_memory_store\&quot; or \&quot;max_file_store\&quot;, do not set \&quot;store_dir\&quot; as it has been hardcoded. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions java/docs/JobTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**affinity** | **V1Affinity** | | [optional]
**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
**backoffLimit** | **Integer** | Specifies the number of retries before marking this job failed. More info: https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy Numaflow defaults to 20 | [optional]
**containerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**imagePullSecrets** | **List&lt;V1LocalObjectReference&gt;** | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional]
**metadata** | [**Metadata**](Metadata.md) | | [optional]
**nodeSelector** | **Map&lt;String, String&gt;** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node&#39;s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional]
**priority** | **Integer** | The priority value. Various system components use this field to find the priority of the Redis pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**priorityClassName** | **String** | If specified, indicates the Redis pod&#39;s priority. \&quot;system-node-critical\&quot; and \&quot;system-cluster-critical\&quot; are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**runtimeClassName** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \&quot;legacy\&quot; RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class | [optional]
**securityContext** | **V1PodSecurityContext** | | [optional]
**serviceAccountName** | **String** | ServiceAccountName applied to the pod | [optional]
**tolerations** | **List&lt;V1Toleration&gt;** | If specified, the pod&#39;s tolerations. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions java/docs/NativeRedis.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**affinity** | **V1Affinity** | | [optional]
**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
**imagePullSecrets** | **List&lt;V1LocalObjectReference&gt;** | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional]
**initContainerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**metadata** | [**Metadata**](Metadata.md) | | [optional]
Expand All @@ -18,6 +19,7 @@ Name | Type | Description | Notes
**priorityClassName** | **String** | If specified, indicates the Redis pod&#39;s priority. \&quot;system-node-critical\&quot; and \&quot;system-cluster-critical\&quot; are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ | [optional]
**redisContainerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**replicas** | **Integer** | Redis StatefulSet size | [optional]
**runtimeClassName** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \&quot;legacy\&quot; RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class | [optional]
**securityContext** | **V1PodSecurityContext** | | [optional]
**sentinelContainerTemplate** | [**ContainerTemplate**](ContainerTemplate.md) | | [optional]
**serviceAccountName** | **String** | ServiceAccountName applied to the pod | [optional]
Expand Down
Loading

0 comments on commit 6389d68

Please sign in to comment.