Subversion Repositories SmartDukaan

Rev

Rev 301 | Details | Compare with Previous | 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
## Test configuration to send to another test server
21
##
22
 
23
 
24
# scribe configuration
25
#
26
# This file specifies global key-value pairs as well as store
27
# objects, which are surrounded by xml-like tags <store></store>
28
#
29
# Each store has a category and a type. The category must match the
30
# category string used by the client code, and the type must be one of:
31
# file, network, bucket, buffer.  The remainder of the store
32
# configuration depends on the type.
33
#
34
# Some types of stores include other stores, which are specified by 
35
# nested xml-like tags. These have specific names that depend on type. 
36
# For example a buffer store has a <primary> store and a <secondary>
37
# store, which can be of any type, and are configured the same way
38
# they would be in a top-level <store>. Note that nested stores don't
39
# have a configured category, it is inherited from the top-level store.
40
#
41
# The category "default" is a special case. Any category not configured
42
# here will be handled using the default configuration, except with 
43
# filenames overwritten with the category name.
44
#
45
# The parser isn't great, so add whitespace at your own risk.
46
 
47
port=1455
48
max_msg_per_second=2000000
49
check_interval=1
50
 
51
# NETWORK TEST
52
<store>
53
category=default
54
type=buffer
55
 
56
target_write_size=20480
57
max_write_interval=1
58
buffer_send_rate=4
59
retry_interval=30
60
retry_interval_range=10
61
 
62
<primary>
63
type=network
64
remote_host=localhost
65
remote_port=1463
66
</primary>
67
 
68
<secondary>
69
type=file
70
fs_type=std
71
file_path=/tmp
72
base_filename=thisisoverwritten
73
max_size=30000
74
</secondary>
75
</store>
76