[
https://issues.apache.org/jira/browse/FLUME-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14590050#comment-14590050
]
ddatsh commented on FLUME-2246:
-------------------------------
a1.sources = r1
a1.sinks = k1
a1.channels = c1
# Describe/configure the source
a1.sources.r1.type = netcat
a1.sources.r1.bind = 0.0.0.0
a1.sources.r1.port = 4444
# Describe the sink
a1.sinks.k1.type = logger
a1.sinks.k1.maxBytesToLog=1024
# Use a channel which buffers events in memory
a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100
a1.channels.c1.maxBytesToLog = 100
# Bind the source and sink to the channel
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1
telnet to 4444
and paste
1234567890abcdefghijklmn1234567890abcdefghijklmn1234567890abcdefghijklmn
then ,enter
console only 1234567890abcdef
> event body data size can make it configurable for logger sinker
> ---------------------------------------------------------------
>
> Key: FLUME-2246
> URL: https://issues.apache.org/jira/browse/FLUME-2246
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Affects Versions: v1.4.0
> Reporter: Gopinathan A
> Assignee: Ashish Paliwal
> Priority: Minor
> Fix For: v1.6.0
>
> Attachments: FLUME-2246-0.patch, FLUME-2246-1.patch,
> FLUME-2246-2.patch
>
>
> Currently logger sinker will dump only 16 bytes of data into log file, better
> to make it configurable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)