Not necessarily. There is almost always room to have a discussion and to see if there can be compromise acceptable to both sides first.
In this case, it may be acceptable to have kids at a later age; in addition, there could be other related concerns not mentioned in the comment (a lot of information is lost when writing about something online), which could make having kids acceptable.
Then if it's truly a red line issue (one partner absolutely does not want to have kids, while the other does), both people will know that they at least tried very hard to work it out, and reached an understanding that there could be long-term unhappiness or resentment if the relationship persisted. Then there can be few to no regrets with moving on, which is difficult after being in a relationship for a long period of time.
There is no compromise on children. Some people want them, some don't. This is one of the biggest sources of relationship strife and needs compatibility quickly or folks should agree to part and stop wasting time.
It's not a black-and-white issue. There is compromise if a person doesn't want children right now, but is genuinely open to it when there is more career stability. Some people may also be open to children, but not at the expense of giving up one's career (some couples have worked it out by having the man de-prioritize his career for a while).
I do agree that people can waste time if a person says they "don't want children right now," but really mean that they "don't want children ever." In either case, there is no harm to clarify this before going right to breaking up over hesitations.