2014-02-08 05:48:04 +08:00
|
|
|
// 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.
|
|
|
|
|
2023-07-12 16:47:32 +08:00
|
|
|
plugins {
|
2024-08-17 05:34:26 +08:00
|
|
|
id 'com.gradle.develocity' version '3.17.6'
|
|
|
|
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
|
2023-07-12 16:47:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
|
|
|
|
def isJenkins = System.getenv('JENKINS_URL') != null
|
|
|
|
def isCI = isGithubActions || isJenkins
|
2024-08-25 14:12:51 +08:00
|
|
|
def currentJvm = JavaVersion.current()
|
2023-07-12 16:47:32 +08:00
|
|
|
|
2024-08-17 05:34:26 +08:00
|
|
|
develocity {
|
2023-07-12 16:47:32 +08:00
|
|
|
server = "https://ge.apache.org"
|
2024-08-17 05:34:26 +08:00
|
|
|
projectId = "kafka"
|
2023-07-12 16:47:32 +08:00
|
|
|
buildScan {
|
|
|
|
uploadInBackground = !isCI
|
2024-08-17 05:34:26 +08:00
|
|
|
publishing.onlyIf { it.authenticated }
|
2023-07-12 16:47:32 +08:00
|
|
|
obfuscation {
|
|
|
|
// This obfuscates the IP addresses of the build machine in the build scan.
|
|
|
|
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
|
|
|
|
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
|
|
|
|
}
|
2024-08-20 04:40:21 +08:00
|
|
|
if (isJenkins) {
|
|
|
|
tag "jenkins"
|
|
|
|
} else if (isGithubActions) {
|
|
|
|
tag "github"
|
|
|
|
} else {
|
|
|
|
tag "local"
|
|
|
|
}
|
2024-08-25 14:12:51 +08:00
|
|
|
tag "JDK$currentJvm"
|
2023-07-12 16:47:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildCache {
|
|
|
|
local {
|
2024-08-22 07:33:37 +08:00
|
|
|
// This allows the build cache to be used locally or on GitHub Actions.
|
|
|
|
// Using the cache on GH should be safe since each job is run on a new VM
|
|
|
|
enabled = !isJenkins
|
2023-07-12 16:47:32 +08:00
|
|
|
}
|
|
|
|
|
2024-08-17 05:34:26 +08:00
|
|
|
remote(develocity.buildCache) {
|
2023-07-12 16:47:32 +08:00
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-24 07:16:25 +08:00
|
|
|
include 'clients',
|
|
|
|
'connect:api',
|
|
|
|
'connect:basic-auth-extension',
|
|
|
|
'connect:file',
|
|
|
|
'connect:json',
|
KAFKA-7500: MirrorMaker 2.0 (KIP-382)
Implementation of [KIP-382 "MirrorMaker 2.0"](https://cwiki.apache.org/confluence/display/KAFKA/KIP-382%3A+MirrorMaker+2.0)
Author: Ryanne Dolan <ryannedolan@gmail.com>
Author: Arun Mathew <arunmathew88@gmail.com>
Author: In Park <inpark@cloudera.com>
Author: Andre Price <obsoleted@users.noreply.github.com>
Author: christian.hagel@rio.cloud <christian.hagel@rio.cloud>
Reviewers: Eno Thereska <eno.thereska@gmail.com>, William Hammond <william.t.hammond@gmail.com>, Viktor Somogyi <viktorsomogyi@gmail.com>, Jakub Korzeniowski, Tim Carey-Smith, Kamal Chandraprakash <kamal.chandraprakash@gmail.com>, Arun Mathew, Jeremy-l-ford, vpernin, Oleg Kasian <oleg.kasian@gmail.com>, Mickael Maison <mickael.maison@gmail.com>, Qihong Chen, Sriharsha Chintalapani <sriharsha@apache.org>, Jun Rao <junrao@gmail.com>, Randall Hauch <rhauch@gmail.com>, Manikumar Reddy <manikumar.reddy@gmail.com>, Ismael Juma <ismael@juma.me.uk>
Closes #6295 from ryannedolan/KIP-382
2019-10-07 16:27:54 +08:00
|
|
|
'connect:mirror',
|
|
|
|
'connect:mirror-client',
|
2019-04-24 07:16:25 +08:00
|
|
|
'connect:runtime',
|
2023-08-17 01:30:24 +08:00
|
|
|
'connect:test-plugins',
|
2019-04-24 07:16:25 +08:00
|
|
|
'connect:transforms',
|
2024-08-18 21:48:44 +08:00
|
|
|
'coordinator-common',
|
2019-04-24 07:16:25 +08:00
|
|
|
'core',
|
|
|
|
'examples',
|
|
|
|
'generator',
|
2022-11-09 15:49:57 +08:00
|
|
|
'group-coordinator',
|
2024-06-07 03:19:20 +08:00
|
|
|
'group-coordinator:group-coordinator-api',
|
2019-04-24 07:16:25 +08:00
|
|
|
'jmh-benchmarks',
|
|
|
|
'log4j-appender',
|
2021-01-15 01:58:52 +08:00
|
|
|
'metadata',
|
2020-09-23 02:32:44 +08:00
|
|
|
'raft',
|
2023-11-20 14:09:19 +08:00
|
|
|
'server',
|
2021-05-12 00:58:28 +08:00
|
|
|
'server-common',
|
2024-08-20 04:13:08 +08:00
|
|
|
'share',
|
2024-08-19 21:54:07 +08:00
|
|
|
'share-coordinator',
|
2021-02-10 06:11:35 +08:00
|
|
|
'shell',
|
2021-04-08 04:52:50 +08:00
|
|
|
'storage',
|
|
|
|
'storage:api',
|
2019-04-24 07:16:25 +08:00
|
|
|
'streams',
|
|
|
|
'streams:examples',
|
|
|
|
'streams:streams-scala',
|
|
|
|
'streams:test-utils',
|
|
|
|
'streams:upgrade-system-tests-0100',
|
|
|
|
'streams:upgrade-system-tests-0101',
|
|
|
|
'streams:upgrade-system-tests-0102',
|
|
|
|
'streams:upgrade-system-tests-0110',
|
|
|
|
'streams:upgrade-system-tests-10',
|
|
|
|
'streams:upgrade-system-tests-11',
|
|
|
|
'streams:upgrade-system-tests-20',
|
|
|
|
'streams:upgrade-system-tests-21',
|
2019-06-04 12:09:58 +08:00
|
|
|
'streams:upgrade-system-tests-22',
|
2019-08-22 01:26:57 +08:00
|
|
|
'streams:upgrade-system-tests-23',
|
2019-12-21 06:21:12 +08:00
|
|
|
'streams:upgrade-system-tests-24',
|
2020-04-16 06:59:03 +08:00
|
|
|
'streams:upgrade-system-tests-25',
|
2020-08-05 07:04:52 +08:00
|
|
|
'streams:upgrade-system-tests-26',
|
2020-12-23 06:34:59 +08:00
|
|
|
'streams:upgrade-system-tests-27',
|
2021-08-05 06:31:10 +08:00
|
|
|
'streams:upgrade-system-tests-28',
|
2022-01-28 17:06:31 +08:00
|
|
|
'streams:upgrade-system-tests-30',
|
|
|
|
'streams:upgrade-system-tests-31',
|
2022-06-21 22:33:40 +08:00
|
|
|
'streams:upgrade-system-tests-32',
|
2023-01-10 15:37:05 +08:00
|
|
|
'streams:upgrade-system-tests-33',
|
2023-10-23 16:33:59 +08:00
|
|
|
'streams:upgrade-system-tests-34',
|
2023-10-23 19:26:50 +08:00
|
|
|
'streams:upgrade-system-tests-35',
|
2024-01-27 06:59:24 +08:00
|
|
|
'streams:upgrade-system-tests-36',
|
2024-03-07 04:02:58 +08:00
|
|
|
'streams:upgrade-system-tests-37',
|
2024-07-31 01:04:38 +08:00
|
|
|
'streams:upgrade-system-tests-38',
|
2021-04-16 02:37:15 +08:00
|
|
|
'tools',
|
2023-04-07 00:20:56 +08:00
|
|
|
'tools:tools-api',
|
2024-01-22 22:29:11 +08:00
|
|
|
'transaction-coordinator',
|
2024-10-03 10:28:37 +08:00
|
|
|
'trogdor',
|
|
|
|
'test-common',
|
|
|
|
'test-common:test-common-api'
|
2023-02-06 19:17:24 +08:00
|
|
|
|
2023-10-03 17:59:56 +08:00
|
|
|
project(":storage:api").name = "storage-api"
|
2023-02-06 19:17:24 +08:00
|
|
|
rootProject.name = 'kafka'
|
2024-08-18 21:48:44 +08:00
|
|
|
|