First of all, foreshadowing starts taking place at the beginning of the astrologers day. His location under the tamarind tree made the surging crowd moving up and down the narrow road be attracted to him as bees are attracted to cosmos or dahlia stalks. It seems the author has given the reader the perspective of how the story could proceed, meaning the cosmos and dahlia stalks are a representation of how his eyes sparkle with a sharp gleam; they attract other eyes just as any variety of garden plants that produce bright flowers.
In addition, the astrologer said things that pleased and astonished his customers. Later on, he left his village without any previous thought or plan; it seemed at first the author was changing the astrologers life, as it was foreshadow. It makes it seem like the astrologer didnt want to continue his father line of work. However, it gave an intrigues to what could possible be hidden as the story proceeds. For example the astrologer was full of interior guilt, he was much a stranger to his own work, like his innocent customers. We later find out that he moved because he thought he had killed a stranger.
Afterwards, the astrologer itself foreshadows the happenings, which could take place on the future. But he was placed with the past and the decision of his own future. It all makes sense at the end because when he was a youngster, the stranger who challenges him was the person that drank and gambled with him but also quarreled badly one day, to the point where the stranger is stabbed and left for dead. The stranger was a great load and the blood that he wanted for all those years when he decided to leave his village without any thought because the stranger was alive.