The/A river does not flow upward. This has no element of metaphor as it stands, and there is no way of judging which article is appropriate without a fuller context. Generally, rivers do not flow upstream.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.