0

I have a requirement to open an https interface on my side to receive data, I know flume's httpSource can be used to receive data sent to Http, but if I want to receive data via Https, is HttpSource still applicable? If not, is there any other way to accomplish this requirement?

This is my Flume configuration file:

agent.sources=r1  
agent.sinks=k1  
agent.channels=c1  

agent.sources.r1.type=http  
agent.sources.r1.bind=XXX.XXX.XXX.XXX
agent.sources.r1.port=50000  
agent.sources.r1.channels=c1  
agent.sources.r1.handler=org.examples.HttpSourceRawHandler


agent.channels.c1.type=memory  
agent.channels.c1.capacity=1000  
agent.channels.c1.transactionCapacity=100

agent.sinks.k1.type = logger
agent.sinks.k1.channel = c1

By setting SSL Certificate Verification to OFF and setting the IP configured for my Flume by Client Certificates, I finally received data from my Flume.Does this mean that my Flume can receive the data sent by the https post request

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

0 Answers0