Home > other >  Spark - streaming configuration of small problem
Spark - streaming configuration of small problem

Time:09-27

In the development of spark - streaming and encounter a more headaches: I have a, a file containing the are some of the configuration information, and business related start streaming back to read the configuration file, stored into memory hashmap, if I had an increase in business information such as to add some configuration, how to don't stop streaming, update the hashmap streaming, if use redis plausible, but need to do a service, read the contents of a local file to redis, want to ask is there a better way of implementation,

CodePudding user response:

Have not done your depth, but from the point of reading a book, some configuration once set up, streaming cannot be changed in the process of operation, such as batch time interval, in addition, consult redis is a what thing, can be used for?
  • Related