-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Copy pathMaeConsumerApplication.java
53 lines (51 loc) · 2.23 KB
/
MaeConsumerApplication.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.linkedin.metadata.kafka;
import com.linkedin.gms.factory.common.SiblingGraphServiceFactory;
import com.linkedin.gms.factory.telemetry.ScheduledAnalyticsFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.cassandra.CassandraAutoConfiguration;
import org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
@SuppressWarnings("checkstyle:HideUtilityClassConstructor")
@SpringBootApplication(
exclude = {ElasticsearchRestClientAutoConfiguration.class, CassandraAutoConfiguration.class})
@ComponentScan(
basePackages = {
"com.linkedin.gms.factory.common",
"com.linkedin.metadata.service",
"com.datahub.event",
"com.linkedin.gms.factory.kafka",
"com.linkedin.metadata.boot.kafka",
"com.linkedin.metadata.kafka",
"com.linkedin.metadata.dao.producer",
"com.linkedin.gms.factory.config",
"com.linkedin.gms.factory.entity.update.indices",
"com.linkedin.gms.factory.search",
"com.linkedin.gms.factory.entityclient",
"com.linkedin.gms.factory.form",
"com.linkedin.gms.factory.incident",
"com.linkedin.gms.factory.timeline.eventgenerator",
"io.datahubproject.metadata.jobs.common.health.kafka",
"com.linkedin.gms.factory.context",
"com.linkedin.gms.factory.timeseries",
"com.linkedin.gms.factory.assertion",
"com.linkedin.gms.factory.plugins",
"com.linkedin.gms.factory.change",
"com.datahub.event.hook",
"com.linkedin.gms.factory.notifications"
},
excludeFilters = {
@ComponentScan.Filter(
type = FilterType.ASSIGNABLE_TYPE,
classes = ScheduledAnalyticsFactory.class),
@ComponentScan.Filter(
type = FilterType.ASSIGNABLE_TYPE,
classes = SiblingGraphServiceFactory.class)
})
public class MaeConsumerApplication {
public static void main(String[] args) {
Class<?>[] primarySources = {MaeConsumerApplication.class, MclConsumerConfig.class};
SpringApplication.run(primarySources, args);
}
}