blob: f9d3c34afd068a494739ddf742f467e1d7ac6607 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: "1.0"
module:
meta:
type: remote
spec:
functions:
- function:
meta:
kind: http
type: org.apache.flink.statefun.e2e.remote/counter
spec:
endpoint: http://remote-function:8000/service
states:
- invoke_count
maxNumBatchRequests: 10000
- function:
meta:
kind: http
type: org.apache.flink.statefun.e2e.remote/forward-function
spec:
endpoint: http://remote-function:8000/service
maxNumBatchRequests: 10000
ingresses:
- ingress:
meta:
type: statefun.kafka.io/routable-protobuf-ingress
id: org.apache.flink.statefun.e2e.remote/invoke
spec:
address: kafka-broker:9092
consumerGroupId: remote-module-e2e
startupPosition:
type: earliest
topics:
- topic: invoke
typeUrl: com.googleapis/org.apache.flink.statefun.e2e.remote.Invoke
targets:
- org.apache.flink.statefun.e2e.remote/counter
egresses:
- egress:
meta:
type: statefun.kafka.io/generic-egress
id: org.apache.flink.statefun.e2e.remote/invoke-results
spec:
address: kafka-broker:9092
deliverySemantic:
type: exactly-once
transactionTimeoutMillis: 900000