I was offered a math PhD position with full funding by a university in Canada (which is currently on a strike), and I was also offered a position as a math teacher in a quite prestigious high school in Macau. The wage of the school is comparable to the PhD funding in Canada. I am struggling very hard to make a decision, as both positions are not easy to get. (The fully funded PhD positions are very competitive for international students)
Since I am a beginner in the area of academia of math, I am not quite sure what kinds of quality I need to look for in a graduate program to make me more well-prepared to look for a academic position in colleges. The research topics my prospective advisor do match my interest very well, but does the prestige of the school play a very big role also? Or the no. of publications is more important? Clarification of this will probably help me make my decision.