diff --git a/pom.xml b/pom.xml index c8131e68ee036..c2c10d1d51ad7 100644 --- a/pom.xml +++ b/pom.xml @@ -100,6 +100,8 @@ flexible messaging model and an intuitive client API. docker tests pulsar-log4j2-appender + + pulsar-functions diff --git a/pulsar-functions/pom.xml b/pulsar-functions/pom.xml new file mode 100644 index 0000000000000..f6bc9a5b3e583 --- /dev/null +++ b/pulsar-functions/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + org.apache.pulsar + pulsar + 1.22.0-incubating-SNAPSHOT + + + pulsar-functions + Pulsar Functions + + + + ${project.groupId} + pulsar-common + ${project.version} + + + + ${project.groupId} + pulsar-client-original + ${project.version} + + + + org.mockito + mockito-core + test + + + + diff --git a/pulsar-functions/src/main/java/org/apache/pulsar/functions/api/package-info.java b/pulsar-functions/src/main/java/org/apache/pulsar/functions/api/package-info.java new file mode 100644 index 0000000000000..fc3a47df0ddc7 --- /dev/null +++ b/pulsar-functions/src/main/java/org/apache/pulsar/functions/api/package-info.java @@ -0,0 +1,22 @@ +/* + * 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. + */ + +/** + * Provides a simple model for enabling lightweight computation on Apache Pulsar. + */ +package org.apache.pulsar.functions.api; \ No newline at end of file diff --git a/pulsar-functions/src/main/java/org/apache/pulsar/functions/package-info.java b/pulsar-functions/src/main/java/org/apache/pulsar/functions/package-info.java new file mode 100644 index 0000000000000..adc4879f6f755 --- /dev/null +++ b/pulsar-functions/src/main/java/org/apache/pulsar/functions/package-info.java @@ -0,0 +1,22 @@ +/* + * 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. + */ + +/** + * Pulsar Functions enables lightweight computation in Apache Pulsar. + */ +package org.apache.pulsar.functions; \ No newline at end of file