The price of coffee futures has been steadily on the rise, and analysts don't see any signs of this ascent stopping in the next few years. In fact, current prices of around $1.65 per pound are up 15 percent from 2015, and some analysts suggest that coffee could reach $3 per pound in 2017. (See also: Commodities Trading: An Overview.)

What's behind the sudden surge in coffee? A number of things, actually. Global demand is up considerably, and that is especially the case in the North American markets. Plus, recent weather patterns have severely disrupted the coffee harvest in South America (El Niño, to be precise). In fact, the effect on the Arabica harvest in Brazil is going to be "devastating," according to some experts. (See also: El Niño Ended Without Helping Commodities Investors.)

The news for next year isn't much better, unfortunately. Rainfall of 300 percent to 400 percent above normal in Vietnam, the world's other leading coffee producer, is wreaking havoc on biennial coffee crops there as well.

That's bad news if you can't function without your morning cup of joe, since prices are set to soar, but it's good news if you're invested in coffee stocks. And if you're not currently in the market but think you might want to jump in, here are three top coffee stock for you to consider in 2017. Note: All figures were current as of April 12, 2017.

Starbucks Corporation (SBUX)

Starbucks has a presence in 75 countries worldwide and is a global leader in coffee roasting, marketing and retailing. With nearly 25,000 retail outlets, it's tough to avoid the chain's commanding presence. Starbucks has a market cap of $84.35 billion and raked in annual revenue of $21.7 billion in 2016 with a net income of $2.82 billion. At current share prices of $57.58, the stock is trading at about 30 times earnings.

The median 12-month price target of $65 implies potential upside of over 12 percent. Starbucks is also expected to pay dividends of $1 in 2017, a jump of nearly 25 percent over 2016's $0.80 per share. The stock is a favorite with major institutional investors including Vanguard, Fidelity and BlackRock. Starbucks stock is currently rated Outperform. (See also: Starbucks vs. Dunkin' Donuts: Comparing Business Models.)

The J. M. Smucker Company (SJM)

Smucker's might be a name you mostly associate with jellies and jams, but it also owns major coffee brands including Folger’s, Dunkin' Donuts (under a licensing agreement through 2034), Cafe Bustelo, Kava, Medaglia D’Oro and Pilon. With a market cap of just under $15 billion and annual revenue in 2016 of $7.42 billion, Smucker's has a significant presence in the U.S. coffee market. The stock is currently trading at $128.20, which equates to a P/E ratio of 22.25. Net income nearly doubled in 2016 to $689 million from $345 million in 2015. (See also: Soup and Sandwich Stocks Test Investors' Appetite.)

Dividends were up 6 percent last year to $2.65 per share, and analysts project 10 percent growth to $2.91 in 2017. There is a 5 percent potential upside in the stock's 12-month median price target of $135, which jumps to nearly 30 percent if the stock reaches its high-end price target of $165.

Dunkin' Brands Group, Inc. (DNKN)

With over 11,000 restaurants in 36 countries, Dunkin' Donuts is a solid player in the coffee space. The company has a market cap of $5 billion and annual revenues of nearly $830 million. At $54.07 per share, the stock trades at about 25 times earnings, and it's up nearly 11 percent over the past year. Although Dunkin' licenses its coffee brand to Smucker's, the company sold over 1.7 billion cups of coffee in 2016, or roughly 30 cups every second – a significant revenue driver.

In 2016, earnings per share hit $2.26, up over 15 percent from 2015. It's also a solid dividend stock, paying $1.20, up 13 percent from 2015. Dunkin' stock is currently trading near its 12-month median price target of $54.50, but the high-end target of $64 leaves room for 18 percent growth in 2017. (See also: Dunkin' or Starbucks: Which Is the Better Buy?)

Want to learn how to invest?

Get a free 10 week email series that will teach you how to start investing.

Delivered twice a week, straight to your inbox.