title: Difference Between Flux.create and Flux.generate
body: <p>What is the difference between <a href="https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Flux.html#create-java.util.function.Consumer-reactor.core.publisher.FluxSink.OverflowStrategy-" rel="noreferrer"><code>Flux.create</code></a> and <a href="https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Flux.html#generate-java.util.function.Consumer-" rel="noreferrer"><code>Flux.generate</code></a>? I am looking--ideally with an example use case--to understand when I should use one or the other.</p>