components.xml
1.83 KB
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
54
55
56
<plexus>
<components>
<component>
<role>com.dianping.cat.hadoop.hdfs.FileSystemManager</role>
<implementation>com.dianping.cat.hadoop.hdfs.FileSystemManager</implementation>
<requirements>
<requirement>
<role>com.dianping.cat.config.server.ServerConfigManager</role>
</requirement>
</requirements>
</component>
<component>
<role>com.dianping.cat.hadoop.hdfs.HdfsUploader</role>
<implementation>com.dianping.cat.hadoop.hdfs.HdfsUploader</implementation>
<requirements>
<requirement>
<role>com.dianping.cat.hadoop.hdfs.FileSystemManager</role>
</requirement>
<requirement>
<role>com.dianping.cat.config.server.ServerConfigManager</role>
</requirement>
</requirements>
</component>
<component>
<role>com.dianping.cat.message.storage.MessageBucket</role>
<role-hint>hdfs</role-hint>
<implementation>com.dianping.cat.hadoop.hdfs.HdfsMessageBucket</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>
<requirements>
<requirement>
<role>com.dianping.cat.hadoop.hdfs.FileSystemManager</role>
</requirement>
<requirement>
<role>com.dianping.cat.message.spi.MessageCodec</role>
<role-hint>plain-text</role-hint>
</requirement>
</requirements>
</component>
<component>
<role>com.dianping.cat.message.storage.MessageBucketManager</role>
<role-hint>hdfs</role-hint>
<implementation>com.dianping.cat.hadoop.hdfs.HdfsMessageBucketManager</implementation>
<requirements>
<requirement>
<role>com.dianping.cat.hadoop.hdfs.FileSystemManager</role>
</requirement>
<requirement>
<role>com.dianping.cat.config.server.ServerConfigManager</role>
</requirement>
<requirement>
<role>com.dianping.cat.message.PathBuilder</role>
</requirement>
</requirements>
</component>
</components>
</plexus>