flume-conf.properties 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing,
  12. # software distributed under the License is distributed on an
  13. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. # KIND, either express or implied. See the License for the
  15. # specific language governing permissions and limitations
  16. # under the License.
  17. # The configuration file needs to define the sources,
  18. # the channels and the sinks.
  19. # Sources, channels and sinks are defined per agent,
  20. # in this case called 'agent'
  21. agent.sources = seqGenSrc
  22. agent.channels = memoryChannel
  23. agent.sinks = loggerSink
  24. # For each one of the sources, the type is defined
  25. agent.sources.seqGenSrc.type = seq
  26. # The channel can be defined as follows.
  27. agent.sources.seqGenSrc.channels = memoryChannel
  28. # Each sink's type must be defined
  29. agent.sinks.loggerSink.type = logger
  30. #Specify the channel the sink should use
  31. agent.sinks.loggerSink.channel = memoryChannel
  32. # Each channel's type is defined.
  33. agent.channels.memoryChannel.type = memory
  34. # Other config values specific to each type of channel(sink or source)
  35. # can be defined as well
  36. # In this case, it specifies the capacity of the memory channel
  37. agent.channels.memoryChannel.capacity = 100