I know people who can have coffee and fall asleep immediately afterwards, and have little to none urinary symptoms at all; and other people who’ll not sleep and / or need to pee frequently.
Personally, I find tea to be a much stronger diuretic. Even herbal tea (zero caffeine). Coffee used to cause diuretic symptoms, until I reached the point where I drank it every day. I drink tea most days now, but the diuretic effects never subsided.