The time frame for a booster is based on the longevity of its protection.
The flu shot (and many others) are required for some professions. Protection for the vulnerable they interact with.
Opinion: if you don’t want to protect the vulnerable in society, you should refrain from participating in it.