blob: c9704b1914e1e04b155646dc98b5957806ff1c35 [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: "3.0"
module:
meta:
type: remote
spec:
endpoints:
- endpoint:
meta:
kind: http
spec:
functions: org.apache.flink.statefun.e2e.remote/*
urlPathTemplate: http://remote-function:8000/service
maxNumBatchRequests: 10000
ingresses:
- ingress:
meta:
type: io.statefun.kafka/ingress
id: org.apache.flink.statefun.e2e.remote/invoke
spec:
address: kafka-broker:9092
consumerGroupId: remote-module-e2e
startupPosition:
type: earliest
topics:
- topic: invoke
valueType: statefun.e2e/org.apache.flink.statefun.e2e.remote.Invoke
targets:
- org.apache.flink.statefun.e2e.remote/counter
egresses:
- egress:
meta:
type: io.statefun.kafka/egress
id: org.apache.flink.statefun.e2e.remote/invoke-results
spec:
address: kafka-broker:9092
deliverySemantic:
type: exactly-once
transactionTimeoutMillis: 900000