Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
301 ashish 1
##  Copyright (c) 2007-2008 Facebook
2
##
3
##  Licensed under the Apache License, Version 2.0 (the "License");
4
##  you may not use this file except in compliance with the License.
5
##  You may obtain a copy of the License at
6
##
7
##      http://www.apache.org/licenses/LICENSE-2.0
8
##
9
##  Unless required by applicable law or agreed to in writing, software
10
##  distributed under the License is distributed on an "AS IS" BASIS,
11
##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
##  See the License for the specific language governing permissions and
13
##  limitations under the License.
14
##
15
## See accompanying file LICENSE or visit the Scribe site at:
16
## http://developers.facebook.com/scribe/
17
 
18
 
19
##
20
## Sample Scribe configuration
21
##
22
 
23
# This file configures Scribe to listen for messages on port 1464 and
24
# attempt to forward all messages to another Scribe instance on port 1463.
25
# If Scribe is unable to forward the messages to port 1463, it will buffer
26
# them on disk and keep retrying.
27
 
28
 
29
port=1464
30
max_msg_per_second=2000000
31
check_interval=3
32
 
33
 
34
# DEFAULT - forward all messages to Scribe on port 1463
35
<store>
36
category=default
37
type=buffer
38
 
39
target_write_size=20480
40
max_write_interval=1
41
buffer_send_rate=1
42
retry_interval=30
43
retry_interval_range=10
44
 
45
<primary>
46
type=network
47
remote_host=localhost
48
remote_port=1463
49
</primary>
50
 
51
<secondary>
52
type=file
53
fs_type=std
54
file_path=/tmp/scribetest2
55
base_filename=thisisoverwritten
56
max_size=3000000
57
</secondary>
58
</store>
59